-
... Addr.sendMsg('/chatGetMessages', userId, messageSerial); }); }, dt: 0.5, clock: SystemClock, autostart: false); signInCompleteFunc = OSCFunc.new({ |msg| userId = msg[1]; netAddr.sendMsg('/chatGetAllClients'); }, path: '/chatSignInComplete', ...
-
... 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 ...
-
... t; *new {|format, id| ^super.new(format, id).initClub } initClub { lastTStamp = SystemClock.seconds; lastSymAxis = [0,0,1]; fHist = [0,0,0]; lastPoleOut = 0; } curvature {|ins| ^( ins[0] - (2*ins[1]) + ins[2] ) } onePole {|coef, in| ^(lastP ...
-
... ", buffer.bufnum]); // check for failure -- if failure, continue with next file SystemClock.schedAbs(Main.elapsedTime + (timeout ?? { timeToFail }), { // this is a valid test b/c readAndQuery doesn't have a sampleRate arg buffer.sampleRate. ...
-
... eueBundle({ NotificationCenter.notify(\lcInstrMixers, \mixersReady); }); }.fork(SystemClock); // init once only ServerTree.remove(initMixers, Server.default); }; if(Server.default.serverRunning) { initMixers.value; } { ServerTree.add(initMi ...
-
... ime = env.releaseTime; dur = 10; // schedule the release of the global envelope SystemClock .sched(dur - reltime, { group.release; }); // schedule the release of the Task SystemClock .sched(dur, { group.freeAll; task.stop; }); loop({ pnotes ...
-
... ", buffer.bufnum]); // check for failure -- if failure, continue with next file SystemClock.schedAbs(Main.elapsedTime + (timeout ?? { timeToFail }), { // this is a valid test b/c readAndQuery doesn't have a sampleRate arg // why check bufnu ...
-
... delta; //("doSched tickdur: "++tickdur++" ofs: "++ofs++" tick: "++tick).postln; SystemClock.sched(ofs * tickdur, { delta = item.awake(tick.asFloat, Main.elapsedTime, this); if(delta.isNumber, { this.sched(delta+(ofs/24), item); }); nil; }); ...
-
... ~cleanupDt ?? { PbindFx.defaultCleanupDt }; ~cleanupClock = ~cleanupClock ?? { SystemClock }; ~freePerGroup = ~freePerGroup ?? { false }; cleanupClockTempo = (~cleanupClock === SystemClock).if { 1 }{ ~cleanupClock.tempo }; zeroSynthOverlap ...