-
ClockProxy { var <clock; *new { |clock| ^super.newCopyArgs(clock) } clock_ { |newClock| var oldClock = clock; var queue = oldClock.queue.copy; var newTempo = try { newClock.tempo } ? 1.0; var oldTempo = try { oldClock.tempo } ? 1.0; var tem ...
-
... tc. can be quantized using a quantize factor AND an offset play { arg quant, argClock, doReset; var schedTime; if (stream.notNil, { "already playing".postln; ^this }); if (doReset ? false, { this.reset }); clock = argClock ? clock ? TempoCl ...
-
... tc. can be quantized using a quantize factor AND an offset play { arg quant, argClock, doReset; var schedTime; if (stream.notNil, { "already playing".postln; ^this }); if (doReset ? false, { this.reset }); clock = argClock ? clock ? TempoCl ...
-
~clock = BeaconClock(~addrBook).permanent_(true); ~clock = TempoClock.new; Pbind(\freq, rrand(440, 880)).play(~clock, quant: 1); Pbind(\freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).play(~clock, ...
-
/* The plan is to reimplement the not-quite-correct TelepathicClock as to match a future time sharing protocol for laptop ensembles. TelepathicClock may change implementation. ListeningClock and SoftClock will stay the same. */ // actually, ...
-
... e(full_chord) ); [side, side]; }; ~sound = 0; ~play = { arg clock, time, bass, chord; clock.sched(time, {~sound.free; ~sound = {~noise.value(bass, chord)}.play}); }; ~kill = { arg clock, time; clock.sche ...
-
ReferenceClock { var clock, <>offset = 0; *new { arg tempo, beats; ^super.new.init(tempo, beats) } elapsedBeats { ^clock.elapsedBeats + offset } tempo { ^clock.tempo } elapsedBeats_ { |beats| offset = beats - clock.elapsedBeats } tempo_ { | ...
-
... test); a.update; a.verbose = true; ) a.others.first.update(1, 460); a.update; a.clocks; a.tempo; a.others a.tempo = rrand(1.0, 0.5).postln; a.sendClockSignal(\all); a.clocks; a.empathy = 1; a.confidence = 0; a.update; a.sendClockSignal(\tes ...
-
GenericSpace : EnvironmentRedirect { var <>proxyspace; *new { arg server, clock; ^super.new.init(server, clock) } *push { arg server, clock; if(name.isNil and: { currentEnvironment.isKindOf(this) }) { currentEnvironment.clear.pop }; // avoi ...
-
Clock: Filter: Description Scheduling Useful Tasks Scheduling and Threads Class methods Inherited class methods Undocumented class methods bars2beats beats beats2bars beats2secs nextTimeOnGrid play seconds secs2beats timeToNextBeat Instance ...