Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

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

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

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

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

  8. Painter Quark

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

  9. simple timeline for patterns by 56228375 (56228375) Code

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

  10. IBVAplayer Quark

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow