-
... ey can be used as a scheduling task. // compare: // a function, returning 0.5 ( SystemClock .sched(0.0, { "***" .postln; 0.5 } ); ) // a stream, returning 0.5 and 0.1 ( SystemClock .sched(0.0, Routine ({ loop { "***" .postln; 0.5.yield; "_* ...
-
... s: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.remove(this); } cmdPeriod { this. ...
-
... { |waitTime, value| ^super.new.init(waitTime, value) } init { |waitTime, value| SystemClock.sched(waitTime, { this.fire(value) }) } }
-
... emove; }); frequency = freq; // save frequency for Voicer.release lastTrigger = SystemClock.seconds; // save time this.isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, gate(1), args, latency| // ^t ...
-
... , 1, 1, 1, 1] / 8, inf), \sustain, 0.1 ) ).quant_([3, 0, 0, 1]); ) ( SystemClock.sched(0, Routine({ a.play; 12.yield; b.play; 12.yield; c.play; 12.yield; c.pause; 6.yield; a.pause; 6.yield; b.pause; a.play; 12.yield ...
-
... , 1, 1, 1, 1] / 8, inf), \sustain, 0.1 ) ).quant_([3, 0, 0, 1]); ) ( SystemClock.sched(0, Routine({ a.play; 12.yield; b.play; 12.yield; c.play; 12.yield; c.pause; 6.yield; a.pause; 6.yield; b.pause; a.play; 12.yield ...
-
... , loop, \amp, amp, \buf, buffer ]); NodeWatcher.register(synth); if(loop.not, { SystemClock.sched(duration, { this.stop(fadeTime); nil; }); }); } prStop {|fadeTime| synth.set(\rel, fadeTime, \gate, 0); } prFree { if(this.isPlaying, { synth. ...
-
... ult (global) BeatSched that can be addressed through class methods. It uses the SystemClock and the default global TempoClock. You may also create individual instances that maintain their own scheduling queues, tempii, and time epochs. The ...
-
... sk ({ { Synth .new( \help_walk , [ \freq , x.next]); 0.1.wait; }.loop; }).play( SystemClock ); ) r.stop;
-
... ; numActivePings = numActivePings - 1; pingTask.stop; if(numActivePings == 0, { SystemClock.sched(1.5, {this.makeConnections}) }); }, '/clientLaunched', addrBook[nickname.asSymbol].addr).oneShot; pingTask = Task({ loop { addrBook.send(nickn ...