-
... arse { asciiInputLine = List(); // hold each line charState = nil; // start the loop that reads the SerialPort loop { this.parseByte(port.read) }; } parseByte { | byte | if (byte === 13) { // wait for LF charState = 13; } { if (byte === 10) ...
-
... ognise { arg list, index = 0; var stream = this.asStream, i = 0; var key, item; loop { item = list[i + index]; key = stream.next(item); // postf("key: % value: %\n", key, item); if(key.isNil) { ^true }; // match over if(item.isNil) { ^false ...
-
... , [\c_getn, bus.index, bus.numChannels], [\n_set, synth.nodeID, \t_trig, 1]); }.loop }).play(SystemClock); { this.gui(layout) }.defer; } freq_ { arg f; freq = f; } free { updater.stop; // if there's a gui, drop it this.dependants.do({ arg d ...
-
... ( if(args.notNil) { this.valueArgsArray(args)} { this.value } ), buffer.bufnum, loop:0); Line.ar(dur: duration, doneAction: 2); }); Routine.run({ var c; c = Condition.new; server.sendMsgSync(c, *buffer.allocMsg); server.sendMsgSync(c, "/d_r ...
-
... ); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; } ); //--loop w.draw{ if(command.isNil, { if(cnt>0, { cnt= cnt-1; }, { w.clearDrawing; //clear each generation Pen.translate(lplot.initTranslate.x*width, lplot.initTrans ...
-
... , [\c_getn, bus.index, bus.numChannels], [\n_set, synth.nodeID, \t_trig, 1]); }.loop }).play(SystemClock); this.gui(layout); } freq_ { arg f; freq = f; } free { updater.stop; // if there's a gui, drop it this.dependants.do({ arg d; d.remove ...
-
... owLabel: true )), (key: \fwd, \midiNum: 48, style: (\showLabel: true )), (key: \loop, \midiNum: 49, style: (\row: 2.5, column:0, \showLabel: true )), (key: \stop, \midiNum: 46, style: ( \showLabel: true )), (key: \rec, \midiNum: 44, style: ...
-
... defer; } startTask { task.stop; // in case it was already running task = Task({ loop { this.update; (1/WFSPositionTracker.sendPointRate).wait; }; }).start; } stopTask { task.stop; task = nil; this.update; } cmdPeriod { if( WFSPositionTracke ...
-
... e n agents for startup //--sequence Tdef(\seq, { //play the state of the agents loop{ drums.do{|d, i| //all 4 instruments var amp= world.objects[i].state[\amp].next; world.objects[i].state[\level]= amp; if(amp>0, {d.set(\t_trig, 1, \amp, am ...
-
... |i| "collecting" + ($.!i).join(' ') }, inf).asStream; progressRoutine = fork({ loop({ progress.string_(progressStates.next); 0.5.wait; }) }, AppClock); StaticText(window, Point(260, 40)).string_("Collecting command-names will stop as soon ...