-
... d-loop", setup: ["start 2", "@ 2", ["tsr @1", 1]], cmds: ["lt 1", "lt 2"] ); // Clock and scheduling ~radTest.("clock-bpm-beats", setup: ["start 2"], cmds: ["clock", "bpm 80", ["beats 4", 2], "beats"] ); ~radTest.("scheduled-commands", setu ...
-
... ear { this.superPerform(\clear) } miSC_setPLbindef { |p| plbindef = p } play { |clock, protoEvent, quant, doReset = false| plbindef.play(clock, protoEvent, quant, doReset) } isPlaying { plbindef.isPlaying } reset { plbindef.reset } stop { p ...
-
... brary.put(~bassID, ev[\degree] % mode.scale.size); bassID = ~bassID; thisThread.clock.sched(0, { BP.changed(bassID, ev) }); }; if(ev[\accent].isNil) { ev[\accent] = ev[\acc].notNil and: { ev[\acc] > 0 }; }; ev[\acc] = ev[\accent].asInteger; ...
-
... tonic is a flat 7, and a half step higher than that is the leading tone. ( TempoClock .default.tempo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2 ...
-
... 't work: thread seems to refer always to thisThread ^Main.elapsedTime //^thread.clock.secs2beats(Main.elapsedTime) } } LagStream : LinLagStream { var <>curve = 0.001; phase { var currentTime = this.beats; ^if(lastTime + lag > currentTime) { ...
-
... d = BeatSched.new; sched.beat = 10.0; // this calculates back through the tempo clock b = sched.beat; this.assertFloatEquals( b , 10.0, "setting beat should work"); } test_deltaTillNext { var db,b,ds; //Tempo.bpm_(120); b = BeatSched.beat; ...
-
BeatClockPlayer : KrPlayer { var <>tempoFactor,<>tempoBase,tempoBus; var <>mul; *new { arg tempoFactor=2.0,mul=1.0,tempoBase; ^super.new.tempoFactor_(tempoFactor).tempoBase_(tempoBase ? Tempo.default).mul_(mul) } storeArgs { ^[tempoFactor,m ...
-
BeatClockPlayer : KrPlayer { var <>tempoFactor, <>tempoBase, tempoBus; var <>mul; *new { arg tempoFactor=2.0, mul=1.0, tempoBase; ^super.new.tempoFactor_(tempoFactor).tempoBase_(tempoBase ? Tempo.default).mul_(mul) } storeArgs { ^[tempoFact ...
-
... Methods . new (describe method here) Arguments: delta (describe argument here) clock (describe argument here) force (describe argument here) Returns: (describe returnvalue here) Inherited class methods Instance Methods . update (describe m ...
-
... Relay.post = false; // turn off posting //////////////////////// // A very dumb clock example to show how you might integrate a clock with this // Master and slave clocks must share a common time base, e.g. using the NTP class // Ticks are ...