-
... ; playRoutine.stop; isPlaying = false; }, { playRoutine.reset; playRoutine.play(SystemClock); isPlaying = true; oldElapsedTime = Main.elapsedTime; }); }, 99, //c pressed { currentGrid = Array.fill(numDivs, { Int8Array.fill(numDivs, { 0 }); ...
-
... r.stop; helpSynthReceivePlayer.stop; isPlaying = false; isPbindPlaying = false; SystemClock.sched(helpSynth.totalLatency + cleanupDelay, { this.clearBookkeeping; }); }; CmdPeriod.remove(this); } }
-
... して、クロックとともにルーチンをプレイします。 以下のコードはSuperColliderがイベントをスケジューリングする時に使用する3つのクロックを示します。 SystemClock.play(r.reset); // 最も正確 AppClock.play(r.reset); // GUIで使用する TempoClock.new.play(r.reset); // 主に拍でスケジューリングするために使われる ⧉ ✔ ////////////////////////////// ...
-
... f(synth.isPlaying,{ this.server.sendBundle(0.05, synth.setMsg(\pchRatio, p); ); SystemClock.sched(0.05,{ myTempo.tempo = p; pchRatio = p; }); },{ myTempo.tempo = p; pchRatio = p; }) } init { arg path; super.init(path); tempoClock = TempoClo ...
-
... (synth.isPlaying, { this.server.sendBundle(0.05, synth.setMsg(\pchRatio, p); ); SystemClock.sched(0.05, { myTempo.tempo = p; pchRatio = p; }); }, { myTempo.tempo = p; pchRatio = p; }) } init { arg path; super.init(path); tempoClock = TempoC ...
-
... Addr.sendMsg('/chatGetMessages', userId, messageSerial); }); }, dt: 0.5, clock: SystemClock, autostart: false); signInCompleteFunc = OSCFunc.new({ |msg| userId = msg[1]; netAddr.sendMsg('/chatGetAllClients'); }, path: '/chatSignInComplete', ...
-
... e lead machine's system clock and the local machine's clock. (You cannot assume SystemClock.seconds will be the same across multiple machines.) Accessible for debugging purposes only; this information is not useful for scheduling. Returns: ...
-
... y retries, call the failure function. onFail.value; nextTime = nil; nil; }); }; SystemClock.schedAbs(nextTime, retryFunction); } cmdPeriod { if (nextTime.notNil, { SystemClock.schedAbs(nextTime, retryFunction); }); } isIdle { ^(nextTime.isN ...
-
... ope } {char == $d} { if(this.isLocal or: { this.inProcess }) { stillRunning = { SystemClock.sched(0.2, { this.stopAliveThread }); }; startDump = { this.dumpOSC(1); this.stopAliveThread; dumping = true; CmdPeriod.add(stillRunning); }; stopDu ...
-
... ) }, bund ) }; //schedule on an integer time value SystemClock.schedAbs( (thisThread.seconds+1.0).round(1.0), { bund = s.makeBundle(nil, {}, bund); nil; } ); }; }); ) //start clus ...