-
Task a pauseable process superclass: PauseStream Task is a pauseable process. It is implemented by wrapping a PauseStream around a Routine. Most of its methods (start, stop, reset) are inherited from PauseStream. Tasks are not 100% intercha ...
-
... e to Main.elapsedTime, otherwise to the current seconds of the scheduler. play(aTask) schedules the task to play, with the delta time returned from it. sched(delta, aTask) schedule the task advance(bySeconds) advance time by n seconds. Any ...
-
... ts4 EventStreamPlayer uses the same control methods and status notifications as Task . play(argClock, doReset, quant) argClock - (optional) Override the clock assigned in Task.new doReset - If true, the task will start over from the beginni ...
-
Tdef task reference definition Inherits from: Object : AbstractFunction : Pattern : PatternProxy : TaskProxy Pdefn provides an interface to its superclass TaskProxy . Tdef keeps a reference to a task ( time pattern ) that can be replaced wh ...
-
... ll need to use the SystemClock to get accurate/musical scheduling. *sched(delta,task) the float you return specifies the delta to resched the function for AppClock .sched(0.0,{ arg time; ["AppClock has been playing for ",time] .postln; rran ...
-
Sequencing with Routines and Tasks When you schedule a function (as in the Scheduling Events tutorial), the function always begins at the beginning and runs through to the end. For sequencing, it's more useful to have a control structure th ...
-
... ck is less accurate (uses NSTimers) but can call Cocoa primitives. *sched(delta,task) the float you return specifies the delta to resched the function for SystemClock .sched(0.0,{ arg time; time.postln; rrand(0.1,0.9) }); returning nil will ...
-
... gz .ar( Impulse .ar(tempo), [501, 500], 1/tempo) }.play; t = TempoBusClock (a); Task { loop { "klink" .postln; 1.wait } }.play(t); ); t.tempo = 1.3; t.tempo = 0.5; t.tempo = 1.0; // in ProxySpace, a TempoBusClock can be added together with ...
-
... t to automate certain processes (e.g. for control by an external interface or a task) - some things (a) are not meant to be used in certain ways and better solutions should be used instead then, others are much more efficient (b, c) a = Nod ...
-
SkipJack a utility for background tasks that survive cmd-. *new( updateFunc, dt, stopTest, name, clock, autostart ) updateFunc - the function to repeat in the background dt - the time interval at which to repeat. can also be a stream or a f ...