Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. wrapCXForNodeProxy Quark

    ... 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 ...

  2. wrapCXForNodeProxy Quark

    ... 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 ...

  3. extWhenTrue Quark

    ... : { remaining >= 0 } } { dt.wait; }; if (this.value, thenFunc, elseFunc) }.play(SystemClock) } }

  4. SpeedLim Quark

    ... 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 ...

  5. RedInterpolator Quark

    ... 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 ...

  6. MIDIParsersForChucking Quark

    ... //"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 ...

  7. MIDIParsersForChucking Quark

    ... //"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 ...

  8. NMLAuthenticate Quark

    ... 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 ...

  9. Server-queryAllBuffers Quark

    ... .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 ...

  10. Hubs Quark

    ... 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow