-
... .numBuffers.do({ |bufnum| this.sendMsg(\b_query, bufnum); wait.wait; }); }.fork(SystemClock); AppClock.sched(timeout, { (bInfoCount == this.options.numBuffers).if({ returns = returns.reject(_.isNil); if(action.notNil) { action.value(returns ...
-
... nly for internal administration. Note: GUIs are always deferred, so you can use SystemClock in routines involving graphics. Creation / Class Methods *new (graph, runner, vertices, edges, vLabels, eLabels, vDim, eDim, alpha, colFact, fontNam ...
-
... on.value(*arr); (1/sr/rate).wait; }); }; }; {action.value(this)}.defer; }).play(SystemClock); }, { "%: file not read - .prepare first".format(this.class.name).warn; }); } stop {|unmutePort= true| task.stop; if(oldSr.notNil, { ibva.sr= oldSr ...
-
... // 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 ...
-
... 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", ...