-
... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...
-
... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...
-
... : { remaining >= 0 } } { dt.wait; }; if (this.value, thenFunc, elseFunc) }.play(SystemClock) } }
-
... e = \idle; var lastOutTime = 0, lastInTime = 0; *new { |time = 0, action, clock(SystemClock)| ^super.newCopyArgs(time, action, nil, clock) } value { |... invals| value = invals; lastInTime = clock.seconds; if(state == \idle) { // sched(0) h ...
-
... 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 ...