Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .current.convert(str) } *unconvert { arg list; ^this.current.unconvert(list) } *error { arg string, index; Error("conversion failed: " ++ string.insert(index, Char.bullet).quote).throw; } } // a very simple string converter EventScoreReader ...

  2. TestSatieAmbiPostProc Quark

    ... this.assertException( { satie.replaceAmbiPostProcessor(\Identity, order: 2) }, Error, "Only configured ambisonic orders should be allowed by replaceAmbiPostProc" ) } }

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

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

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

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

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

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

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

  10. 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 ); } }

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow