Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. fraction2basimal by elirosenkim (eli.rosenkim) Code

    ... ractions-Part-A-only.pdf //it doesn't work perfectly due to floating point errors, I can't find an arbitrary precision float for SC ~fraction2basimal.(1/3, 10); //without rounding in the equals comparision, this returns a bunch of thr ...

  2. ScalaTunings Quark

    ... oat; ratio.ratiomidi } { true } { line.asFloat } }; if (pitches.size != size) { Error("scl: size mismatch (% != %)".format(pitches.size, size)).throw }; octaveRatio = pitches.last.midiratio; if (octaveRatio == 2.ratiomidi.midiratio) { octav ...

  3. VGSound Quark

    ... dl); if (sendGate) { ~schedBundleArray.value(lag, sustain + offset, server, [['/error', -1]] ++ [\n_set, ids, \gate, 0].flop ++[['/error', -2]] ) } } { if (strum < 0) { bndl = bndl.reverse }; strumTime = 0; bndl.do { | msg, i | ~schedStrumm ...

  4. PG_060_Filter_Patterns Help

    ... ns mimic language-style control methods: conditionals (Pif), loops (Pwhile) and error cleanup (Pprotect). Pif(condition, iftrue, iffalse, default): Evaluates a pattern 'condition' that returns true or false. Then, one value is taken from th ...

  5. MxApp Quark

    ... g that; if(that.isKindOf(AbsApp).not, { (this.asString + "cannot >> to" + that).error }); } } MxApp : AbsApp { var cache, convertor, transactionCount = 0; mx { ^model } at { arg point; var u; u = model.at(point.x, point.y) ?? { ^nil }; ^thi ...

  6. BBCutProc11 Quark

    ... ? if(unitsdone>=(totalunits-0.000001), //account for very slight floating point errors { //new cutsize? subdiv= sdiv.value.round(1.0).asInteger; //integers only //new number of beats to cut into subdiv units sdivbeats=barlength.value; //new ...

  7. MainFX Quark

    ... lues; badSynth !? { // free badSynth - which may be gone already // so suppress error msg for this bundle server.sendBundle(nil, [\error, -1], ["/free", badSynth.nodeID]); }; if (checkingBadValues) { badSynth = Synth(badDefName, target: gro ...

  8. LPCAna Doc

    ... ther then getting rid of them... but I can't, for the life of me, see where the error is. Don't use it. Moore's basic algorithm is pretty good, and the filters seems fairly stable. If you have problems, try increasing the number of poles (d ...

  9. LemurConnection Quark

    ... tAddr, <>editorPort, <>oscPort; *new { | remoteIP | if (remoteIP.isNil) { throw(Error("The RemoteIP constructor argument is not provided.")); } // newCopyArgs works sets properties when they are defined in the order from left to right. ^sup ...

  10. Pekingan Quark

    ... l.isNil) {nil.alwaysYield; ^inval }; dur = outval.at(\dur); if(dur.frac != 0) { Error("pekingan for this balungan type not defined.").throw }; if(dur > 1) { // for now split only whole dur dur.do { inval = outval.copy.put(\dur, 1.0).yield; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow