-
... // save frequency for Voicer.release voicer.lastFreqs.add(freq); lastTrigger = SystemClock.seconds; // clock.beats2secs(thisThread.clock.beats); isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, ga ...
-
... { this.doPrepare(server, { server.sendBundle(nil, *messages) }) } { callTime = SystemClock.seconds; this.doPrepare(server, { server.sendBundle( delta + callTime - SystemClock.seconds, *messages ); }); } } debug { |str| Post << str << ":\n" ...
-
... e, nil, loopView.value ); incdecTask.stop; incdecTask= Routine({ var startTime= SystemClock.seconds; var stopTime= sampler.length(playIndex); decView.string= stopTime.asTimeString; inf.do{ var now= SystemClock.seconds-startTime; incView.str ...
-
... .removeAllSuchThat(true); // end old clock without sending removedFromScheduler SystemClock.sched(0.01, { oldClock.prClear }); clock = newClock; } // for efficiency: pass on messages to clock. permanent_ { |flag| clock.permanent_(flag) } pe ...
-
... }!4)).asInteger.clip(0, 1023); action.value(*data); }); (1/sr).wait; }; }).play(SystemClock); } close { task.stop; } getBatteryLevel {blAction.value(3.3)} getDeviceName {dnAction.value("fake")} getSamplingRate {srAction.value(sr)} getFilter ...
-
... restart functions - will restart scopes after a cmdPeriod restartScopesFunc = {SystemClock.sched(cmdPeriodDelay,{scope.run; phaseScope.run})}; CmdPeriod.add(restartScopesFunc); //WINDOW window .onClose_({ scope.free; phaseScope.free; meter ...
-
... grains Routine({ 1.0.wait; 100.do({ b.spawn(atTime: 0.1); 0.25.wait }) }).play(SystemClock) ) ⧉ ✔ Note that there is a Patch method .respawn which is different. Events Patch-asEvent will create a Event that can be .play(ed) or used in an E ...
-
... icts( channel, track ) .sort({ |a,b| a.absTime <= b.absTime }); clock = clock ? SystemClock; function = function ? { |... args| // monitoring func for default "note played:".postln; ["noteNr", "velo", "dur", "upVelo", "tr", "ch", "absTime", ...
-
... if(counter >= (1.0 + (delta * time)), { done = true }); delta.wait; } }, clock: SystemClock) )
-
... }; } */ } +Clock { *tempo { ^(1.0) } *tempo_ { } tempo { ^(1.0) } tempo_ { } //SystemClock, just do no error out *interpolateTempo { } *interpTempo { } //Only works for TempoClock / LinkClock interpolateTempo { | tempo = 1, time = 0, shape ...