-
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, ...
-
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 ...
-
... it { | stream, event | player = EventStreamPlayer(stream, event); } play { | argClock, doReset = false, quant | player.play(argClock ? player.clock, doReset, quant) } stop { player.stop } reset { player.reset } //Stops and remove all action ...
-
// maainstage clock and gui /////// Clock display shows how long something has been running /* Tdef(\clocK).gui; Tdef(\clocK).set(\isRunning, true); // jumps back to zero when stopped Tdef(\clocK).set(\isRunning, false); // watch some Tdef ...