-
+ TempoClock { // stop { // all.take(this); // this.dependants.do({ arg d; d.remove }); // this line is added // this.prStop; // } // // tempo_ { arg newTempo; // this.setTempoAtBeat(newTempo, this.beats); // this.changed(\tempo); // this l ...
-
( a = TempoClock.default; a.algaTempoClockSchedAtQuant(1, {"me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"no, me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"nono, me fir ...
-
+ TempoClock { // for debugging purposes // this will generate A LOT of information! dumpQueue { queue.clump(2).do({ |pair| ("\n" ++ pair[0]).postln; pair[1].dumpFromQueue; }); } } + Function { dumpFromQueue { ("Arguments: " ++ this.def.arg ...
-
+ TempoClock { // for debugging purposes // this will generate A LOT of information! dumpQueue { queue.clump(3).do({ |pair| // ("\n" ++ pair[0]).postln; "\n%, priority %\n".postf(pair[1], pair[0]); pair[2].dumpFromQueue; }); } } + Function ...
-
... { var <>quant, <>clock; *new { arg quant; ^super.prNew.quant_(quant ? 1).clock_(TempoClock.default) } applyLatency { ^this } nextTimeOnGrid { |argClock| (quant >= (argClock ? clock).beats).if({ ^quant }, { // invalid after given time has pa ...
-
... beats = beats ? clockBeats; tempo = tempo ? clock.tempo; clock.stop; }; clock = TempoClock.new(tempo, beats).permanent_(true) } permanent { ^true } } TelepathicReferenceClock : ReferenceClock { var <>name; var responder; classvar <cmd = \re ...
-
... c) 2007-2009 Tom Hall GPLv3, http://gnu.org/copyleft/ // Changes log 2011-03-24 TempoClock.default used if no tempoClock supplied Updated Helpfile 2009-01-22 Changed priority structure from priority 12 to priority 0 always plays. Updated He ...
-
... rBeat + phase } } ConductorClock { var addrBook, latency, granularity, oscPath, tempoClock; *new { |addrBook, latency = 0.05, granularity = 0.01, oscPath = '/conductorClockTick', tempo, beats, seconds, queueSize=256| ^super.newCopyArgs(addr ...
-
... eat+1; lastBeatTime= Main.elapsedTime; lastTempo= msg[3]; //lastTempo.postln; //tempoclock.tempo_(msg[3]); //schedule this.tick; }); }).add; } getMaterial { providers.do({arg array; var list, provider; provider=array[0]; //need next beat, a ...
-
... t { var <>sched,<>port,click,<isPlaying = false; *new { arg deviceName,portName,tempoClock; var port; if(deviceName.notNil and: portName.notNil,{ port = MIDIOut.newByName(deviceName,portName); },{ port = MIDIOut.new(0,MIDIClient.destination ...