-
... clock, <>action; var task; *new {|value= 0, tick= (1/60), clock| clock= clock ? SystemClock; ^super.newCopyArgs(value, tick, clock); } goto {|target= 1, dur= 0, curve= 0| task.stop; task= Routine({ var steps= (dur/tick).round.asInteger; var ...
-
... //"chord sent, still notes holding".postln; destination.chordNoteAdd(note) }, { SystemClock.sched(deltaThresh, { // if these are ==, nothing happened so assume the chord is finished //[\noteOn_checking, unresolvedCount, comparisonKey, chord ...
-
... //"chord sent, still notes holding".postln; destination.chordNoteAdd(note) }, { SystemClock.sched(deltaThresh, { // if these are ==, nothing happened so assume the chord is finished //[\noteOn_checking, unresolvedCount, comparisonKey, chord ...
-
... dr).oneShot; peer.addr.sendMsg(*([oscPath ++ "-challenge"] ++ inds)); //timeOut SystemClock.sched(timeOut, { if(testResult.isNil, { challReplyOSCFunc.free; "ChallengeAuthenticator challenge timed out! Peer: %\n".format(peer).warn; failureFu ...
-
... .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 ...
-
... cvedData); this.react(recvedData, delta, n); if(n > 0 and: { follow.notNil }) { SystemClock.sched(delta, { collective.sendToIndex(follow, channel, delta, n - 1, *recvedData) }); }; }) } transform { arg data; ^data } react { arg data; action ...
-
... .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 ...
-
... lf.internalnewcounter; var type = el.type; if (type == \time) { SystemClock.sched(el.dt, { self[\internalplayers][cnt.asSymbol] = el.p.play(tempoclock); nil}); SystemClock.sched(el.dt + el.dur, { self[\internalplayers] ...
-
... 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 ...