-
... play(clock, quant) A PHSusePlayer object is instantiated and started using the TempoClock clock . Quant or SimpleNumber quant lets the player step into the quantization as soon as possible, with respect to the necessary latency. The PHSuse ...
-
+ TempoClock { // when you want schedule to play lots of events at once *newBig { arg tempo, beats, seconds, size = 1024; ^super.new.initBig(tempo, beats, seconds, size) } initBig { arg tempo, beats, seconds, size; queue = Array.new(size.ne ...
-
... song RedGrandMst .song= 'fast' ; //set song name RedMst .clear; RedMst .clock= TempoClock (150/60); RedMst .quant= 2; SynthDef ( \fast , { |freq| Out .ar(0, SinOsc .ar(freq, 0, Line .kr(0.2, 0, 0.1, doneAction: 2)))}).add; RedTrk ( \a , Pb ...
-
... c', { if(q[\synched].not) { "-------- new tempo clock started --------".postln; TempoClock.default = TempoClock.new(~cps).permanent_(true); q[\synched] = true; }; s.latency = ~latency; /* // this doesn't work, because the clock has changed ...
-
... ffset is 0.25, => 10.25 // if beats is 10.3, and the offset is 0.25, => 11.25 + TempoClock { nextBeatOffset { |offset = 0.25| ^if(1-this.timeToNextBeat<= offset, {0}, {1}) + offset + this.beats.floor; } }
-
... .removeAt(encoderProxyIndex); repManager.remove(this); attached = false; }.play(TempoClock.default); } add { this.addSource; //Using JitLib the source will be added after the Server's default latency this.addAll(delay: Server.default.latenc ...
-
( var length=300; // 300 is 5 minutes, 1800 is 30 minutes TempoClock.default.tempo = 1; Score.write([ [0.1, [\s_new, \scpodcast_fdbknois1, 1000, 0, 0, \amp, 0.7]], [length-50, [\n_set, 1000, \fdbk, 0.42]], // Calm down before end [length-10 ...
-
( var length=300; // 300 is 5 minutes, 1800 is 30 minutes TempoClock.default.tempo = 1; Score.write([ [0.1, [\s_new, \scpodcast_fdbknois1, 1000, 0, 0, \amp, 0.7]], [length-50, [\n_set, 1000, \fdbk, 0.42]], // Calm down before end [length-10 ...
-
... Status control play(clock, quant, hsPlay, pbindPlay, quantBufferTime) clock - A TempoClock object. If not assigned, takes the default TempoClock. quant - Quant or SimpleNumber. Makes the player start at the next grid that gives enough time ...
-
( var length=300; // 300 is 5 minutes, 1800 is 30 minutes TempoClock.default.tempo = 1; Score.write([ [0.1, [\s_new, \scpodcast_harp1, 1000, 0, 0, \amp, 0.7]], [length-15, [\n_set, 1000, \pluckratefactor, 0.2]], // Ask the plucking to calm ...