Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... openBundle(bundle); try { func.value(this); bundle = this.closeBundle(time); }{|error| addr = addr.saveAddr; // on error restore the normal NetAddr broadcast = true; error.throw } ^bundle } options { ^homeServer.options } makeWindow { homeS ...

  2. README Quark

    ... 'json', 'multipart'])) { case 'urlencoded': // parse urlencoded body throw new Error('implement urlencoded body parsing') case 'json': // parse json body throw new Error('implement json body parsing') case 'multipart': // parse multipart b ...

  3. ModernLife Quark

    ... ifeScene 1", { "The saved file was not created for this version of ModernLife.".error; ^this.halt; }); if(savedParams.last != "?EndSave", { "The save file is truncated.".error; ^this.halt; }); if(numDivs != savedParams[1].interpret, { ("num ...

  4. Resonator1D Quark

    ... BoundaryConds.includes(newBoundaryCond).if { boundaryCond = newBoundaryCond } { Error("arg boundaryCond=% is not a valid 1D boundary condition".format(newBoundaryCond)).throw } } jsonString { var bcStr = boundaryCond.asString; bcStr = bcStr ...

  5. HISTORY Quark

    ... e 1.0.1 / 2015-02-13 ================== * Improve missing `Content-Type` header error message 1.0.0 / 2015-02-01 ================== * Initial implementation, derived from `media-typer@0.3.0`

  6. SCPyduino Quark

    ... cludes(this.boardPinNumber).not) {^"Digital pin does not have pwm capabilities".error}; if(mode == unavailable) {^("Cannot set mode for pin " ++ this.boardPinNumber.asString).error}; mode = argMode; this.sp.putAll(Int8Array[ set_digital_pin ...

  7. TestFilterUGens Quark

    ... uses the filters' default arguments, but this should catch most initialisation errors. test_time_invariance { // a list of filters to test. Should basically be Filter.allsubclasses, minus a // few odd ones like DetectSilence, plus anything ...

  8. IntegerClip Quark

    ... l| ^inval.asInteger.clip( minval,maxval ); } asSpec { ^this; } } // to avoid an error on the .trace method + Integer { asStringPrec { arg precision; this.asFloat.asStringPrec( precision ); } }

  9. TestSatie_Server Quark

    ... ertNoException( { satie.reboot }, message: "Satie.reboot should not have thrown error when status was \\initialized" ); while { (satie.status === \initialized) && (limit > 0) } { 0.2.wait; limit = limit - 1; }; this.assertEquals(satie.statu ...

  10. extNetAddr Quark

    ... newCopyArgs(target, path).init; } init { if (target.respondsTo(\sendMsg).not) { Error("Target % does not respond to :sendMsg".format(target)).throw; }; } update { |object, changed, value| target.sendMsg(path, value) } connectionTraceString ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow