-
... ispersion,0) },#[ nil, [-9,14,\linear,1] ], \audio ); // boring Instr([\trails,\beatDelay],{ arg audio=0.0,beat=1,tempo=1.0; DelayC.ar(audio,1 / (40 / 60) , beat * (tempo ?? {Tempo.kr}).reciprocal) },#[ \audio, [0.001,1.0,\linear,0.125] ], ...
-
... Func; classvar syncTask; classvar wire; var <>currentState; var stateQueue; var beatSyncTask; *startSync { |serverName = "sclork-s01.local"| if (syncStarted.isNil, { syncStarted = true; clockMap = Dictionary.new; syncNetAddr = NetAddr.new(s ...
-
... lock) aTempoClock.default is used if aTempoClock is not supplied. test prints 4 beats of test values testRate prints 1 beat's worth of test values at rate schedAbs(beat, priority, function, interval, quant, schedQuant) schedules a function ...
-
... pe]; (this.beam > 0).if({this.beamType = Array.fill(this.beam, {\none})}); } numBeats {arg anXMLPart; var beatFloor, beatDur, remDur, beat, thisMeter, pctOfBeat, compoundScale, base, tmpDur, newDur, i = 0, test; beat = this.beat; beatFloor ...
-
... k { //classvar <>default; var providers; var <tempoclock; var lastref; var <lastBeatTime=0.0, <lastTempo=2, <lastBeat; // *initClass { // // Class.initClassTree(TempoClock); // ExternalClock.default= ExternalClock.new(TempoClock.default).pl ...
-
... ames Harkins -- jamshark70@dewdrop-world.net MIDISyncClock { classvar <>ticksPerBeat = 24; // MIDI clock standard classvar responseFuncs; classvar <ticks, <beats, <startTime, <tempo, <beatDur, <beatsPerBar = 4, <barsPerBeat = 0.25, <baseBar ...
-
... for different scheduling results nextTimeOnGrid { arg clock; ^clock.tryPerform(\beats) ? 0 } // this is used in too many places, can't delete it outright yet schedTime { |clock| this.deprecated(thisMethod, this.class.findRespondingMethodFor ...
-
... { // 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.nextPowerOfTwo) ...
-
... for different scheduling results nextTimeOnGrid { arg clock; ^clock.tryPerform(\beats) ? 0 } // this is used in too many places, can't delete it outright yet schedTime { |clock| this.deprecated(thisMethod, this.class.findRespondingMethodFor ...
-
... tempo } ? 1.0; var tempoRatio = newTempo / oldTempo; var elapsed = clock.elapsedBeats; queue.pairsDo {|delta, item| newClock.sched(delta - elapsed * tempoRatio, item) }; // removed all items from old clock. oldClock.queue.removeAllSuchThat( ...