-
... e timed to allow previous events to complete. Score scheduling defaults to TempoClock . A setting of TempoClock .default.tempo = 1 (60 beats per minute), may be used to express score events in seconds if desired. Class Methods *new(list) - ...
-
Routines and clocks Use clocks to create automated, algorithmic scheduling. Among the things that clocks "play" are routines, tasks, and patterns. To see how a clock "plays" a routine, first examine how a function works in a routine. The fi ...
-
... z 0, Line .kr(0.2, 0, 1, doneAction:2)) // frees itself ) }).play(s); ) x.free; Clocks, such as SystemClock , provide a way to schedule things at arbitrary points in the future. This is similar to Synth.sched in SC2. ( SystemClock .sched(2. ...
-
... If a Routine's function returns then it will always yield nil until reset. play(clock, quant) clock : a Clock, TempoClock by default quant : see the Quant helpfile In the SuperCollider application, a Routine can be played using a Clock, as ...
-
... s, we need to understand the concepts of logical time and physical time . Every clock in SuperCollider has both a logical time and physical time. Physical time: always advances, represents real time. Logical time: advances only when a sched ...
-
... y 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 function that retu ...
-
... / clear after 3 seconds b.clear(3); Creation / Class Methods *new(server, name, clock) server : a Server object. Note that on remote computers the clock must be in sync. name : a symbol. If a name is given, the proxy space is stored in Prox ...
-
... st( \sendMsg , \b_setn , 10, 0, a.size, a); ( SynthDef ( \stepper , { var rate, clock, index, freq, ffreq, env, out, rev, lfo; rate = MouseX .kr(1,5,1); clock = Impulse .kr(rate); env = Decay2 .kr(clock, 0.002, 2.5); index = Stepper .kr(clo ...
-
... total duration = infinite \time , Pfunc { startTime = startTime ? ( thisThread .clock.beats.debug( "time" )) } ), 1, 4) ++ Pfuncn ({ thisThread .clock.beats.debug( "finish time" ); ( thisThread .clock.beats - startTime).debug( "elapsed" ); ...
-
... of their calculation. Event patterns are naturally time-driven when played on a clock. (Technically it's possible to request events from an event stream without running it in an EventStreamPlayer, but this is not typical usage.) Most of the ...