-
... rmanent node ID for later reuse. wait(responseName) - this can be used within a Routine to wait for a server reply waitForBoot(func, limit) - evaluate the function func as soon as the server has booted. If it is running, it is evaluated imm ...
-
... on> var i = 3 < FunctionDef in closed FunctionDef > (no arguments or variables) Routine-prStart arg this = <instance of Routine> arg inval = 758.000000 ⧉ ✔ //////////////////////////////////////////////////////////////////////////////////// ...
-
... 2], 73, #[0, 2], Pseq([74, 75, 76, 77]), #[2, 3, 3], nil, nil ], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.1.wait; }) }).play; ) ( Pfsm([ #[5, 6, 7], // entry states // e1 (== state 0) Pbind(\dur, Ps ...
-
... 00DRM0", argBaudrate, crtscts:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remov ...
-
... are represented by Buttons, and edge labels by StaticText // The a drawing Pen routine draws edges // Substantially it is a reimplementation of level I of Graphista // Should be easy to add trajectory (via MouseXY) and hearing circle // NO ...
-
... eq),500,0.1)%modulo, 0.0));}).play; clock= ExternalClock(TempoClock(2.1)).play; Routine.run({ sf= BBCutBuffer(Platform.resourceDir +/+ "sounds/break2.aiff",4); s.sync; BBCut2([CutFunc({arg i, block, clock; "cut".postln; synth.set(\freq,55+( ...
-
... enDeviceVia( z ); k.device; k.trace; k.trace(false) m = {|which = 0, vel = 0.1| Routine{ k.elAt(\pad, which , \on).value = vel; 0.01.wait; k.elAt(\pad, which , \off).value = 0; }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ ...
-
... pauses thread if needed and returns // the result directly. // must be inside a Routine var result, c = Condition.new; c.test = false; this.async(selector, args, { arg r; result = r; c.test = true; c.signal; }, onError); c.wait; ^result } * ...
-
... assFilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); win.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...
-
... 0, \pan, -1]); highestbeep=Synth(\beep, [\freq, 200, \cutoff, 200, \pan, 1]); Routine({ for (1, 100, { arg startnumber; var number, length=1, maximum; number=startnumber; maximum=startnumber; (number.asString+" ").post; n ...