Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. BBCPPermute Quark

    ... ocklength/repeats; cuts=Array.fill(repeats,{temp}); //correction for arithmetic errors cuts.put(repeats-1,temp+(blocklength-(temp*repeats))); temp= permutefunc.value(index, subdiv).round(1.0).asInteger; index=index+1; temp= (temp%subdiv)*pr ...

  2. ChooseBlockProc Quark

    ... ocklength/repeats; cuts=Array.fill(repeats,{temp}); //correction for arithmetic errors cuts.put(repeats-1,temp+(blocklength-(temp*repeats))); //offsets are now decided by cut renderer bbcutsynth.chooseoffset(phrasepos,beatspersubdiv,currphr ...

  3. DOMDocument Quark

    ... tion // into SuperCollider. // DOMException - // Not implemented, in most cases errors will result from SuperCollider's own // exception handling, especially in cases of errors resulting from collection classes. // Parse errors are handled ...

  4. SWAsyncNotifier Quark

    ... ; interessees.removeAt( osctag, id.asSymbol ); // interessees[osctag].postcs; } errorResult{ |osctag, id, message| osctag = osctag.asSymbol; interessees.at( osctag, id.asSymbol ).do{ |client| client.addr.sendMsg( *( ["/error", osctag ] ++ m ...

  5. HarmonicVector[old] Quark

    ... : pyth maj6 (a / b) + b; // fourth plus 5 lim min 7: 5 lim min3 (a / b) * a; // error, check what going on... (a * b) * (a / b); // does not compute (a * b) / (b - a) w = HarmonicVector .from([3,2]); x = HarmonicVector .from([16,15]); w + x ...

  6. TestOSCSyncClocks Quark

    ... lower.beats, sum / 20.0, 0.0, // note that variance is much smaller than actual error // so we set the limit very low "DDWLeadClock and DDWFollowClock variance should be < 0.003 (measurementError)", within: 0.003 ); follower.stop; leader.st ...

  7. ndef-menu-choice Quark

    ... 0.1.wait; choiceOldNdef.end(2); 2.wait; choiceOldNdef.clear; }; // if no other Error, store File.use(q.choiseNdefs_storePath, "w", { |file| file.write(q.ndefs.collect(_.key).cs) } ); }.play(AppClock); [ slotIndex, choiceIndex, key].postcln ...

  8. Writer Quark

    ... { |f| var k = f.(a); if( k.class == this.class) { ^Writer( k.a, w |+| k.w ) } { Error(">>= class mismatch: this: % that %".format(this, k) ).throw } } *makePure { |a,class| Writer(a, class !? _.zero ?? {[]}) //where to store the zero ? } }

  9. DirtEvent Quark

    ... tion = unitDuration * ~length / avgSpeed; }, \s, { unitDuration = ~length; }, { Error("this unit ('%') is not defined".format(~unit)).throw }; ) }; sustain = ~sustain.value; sustain = sustain ?? { delta = ~delta.value; if(~legato.notNil) { ...

  10. RecCutProc Quark

    ... ynth.setoffset((next.at(1).asFloat)/(rcd.subdiv)); //to minimise floating point errors? //if(block==(offsetlist.size-1),{blocklength=currphraselength- phrasepos;}); this.endBlockAccounting; } }

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow