-
... sponsible for the timing of insertion of new functions, per default at the next beat of the clock. p = ProxySpace .push(s.boot); ~x.play; ~y.play; // these two synths are started at the time when they are inserted: ~x = { Ringz .ar( Impulse ...
-
... etween 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and overlay synthesized bells emphasizing the meter. It might be tempting to loop a PlayBuf so that the loop runs automatically on the server, but ...
-
... : 0.1]); 0.25.wait; }); } }); }; t = f.value.play(quant: 4); // start on next 4-beat boundary u = f.value.play(quant: [4, 0.5]); // next 4-beat boundary + a half-beat t.stop; u.stop; Using data routines in note sequencing The previous examp ...
-
... be in the following format, with times in ascending order. Bundles are okay. [ [beat1, [ OSCcmd1 ]], [beat2, [ OSCcmd2 ], [ OSCcmd3 ]], ... [beat_n, [ OSCcmdn ]], [beatToEndNRT, [ \c_set , 0, 0]] // finish ] For NRT synthesis the final even ...
-
... chronizes its tempo with the server superclass: TempoClock *new(control, tempo, beats, seconds) return a new instance. control can be anything that responds to the message set(key, val, ...) e.g. a Synth or a NodeProxy. The control key set ...
-
... j) set the source. If a quantization is given, schedule this change to the next beat clear set the source to nil quant_ set the quantization value quant get the quantization value *defaultQuant_ set the default quantization value for the cl ...
-
Ptime derive relative time superclass: Pattern returns time in beats from moment of embedding in stream Ptime(repeats) ( a = Ptime .new; x = a.asStream; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Pti ...
-
... t the case when you listen. The routines also print out the logical time (clock.beats) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef ( \sinGrain , { |out = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(ou ...
-
... of a 4-bar cycle init: { if(~startTime.isNil) { ~startTime = thisThread .clock.beats }; }, // convert the rhythm arrays into patterns pbindPairs: { |keys| var pairs = Array (keys.size * 2); keys.do({ |key| if(key.envirGet.notNil) { pairs.a ...
-
... iming offset mechanism, which delays the sound of an event by a given number of beats. In the example, the bass pattern is scheduled 0.1 beats before whole-numbered beats (while the chord pattern runs exactly on whole-numbered beats). The b ...