Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = y.size ).if( {"Env levels array should have one more value than times array.".error; this.halt }); c = env.curves; c.isKindOf( Collection ).if( { ( x.size != (c.size+1) ).if( {"\tEnv levels array should have one more value than curves arr ...

  2. DirtOrbit Quark

    ... orbitIndex).init } init { server = dirt.server; if(server.serverRunning.not) { Error("SuperCollider server '%' not running. Couldn't start DirtOrbit".format(server.name)).warn; ^this }; group = server.nextPermNodeID; synthBus = Bus.audio(s ...

  3. ActionMenu Quark

    ... m.isKindOf(String) || item.isKindOf(Symbol)).if{ item; }{ "wrong type in items".error; } } }; (level==0).if{ this.prSetWinPosition; }; winbounds = this.prGetWinBounds(listitems); this.prMakeListView(listitems, winbounds); }; } prMakeListVie ...

  4. OssiaArray Quark

    ... alue, domain | domain[2].detect( { | item | item == value.asArray } ); }; }, { ^Error("bounding mode not recognized").throw }; ); } *ossiaDefaultValue { ^[0, 0] } *ossiaNaNFilter { | newVal, oldval | ^newVal } *ossiaJson { ^"\"l\"" } }

  5. Rational Quark

    ... // the tests that asserted nil were updated with it. *prRefuseZeroDenominator { Error("Rational: a denominator of zero has no value. Nothing in the " "rationals divides by zero, so this is refused where it was " "written rather than answere ...

  6. DebugNetAddr Quark

    ... e will fail to send if the bundle size is too large // but it will not throw an error. this needs to be fixed sendBundle { arg time ... args; if( debug ) { ([ time ] ++ args).postln }; ^super.sendBundle( time, *args ); } sendPosBundle { arg ...

  7. instr.api Quark

    ... name.asString; instr = Instr.at(name) ?? {Instr.load(name)}; if(instr.isNil, { Error("Instr not found" + name).throw; }); reply.value(( name: name, path: instr.path, code: instr.funcDef.sourceCode, specs: instr.specs, outSpec: instr.outSpe ...

  8. DebugNetAddr Quark

    ... e will fail to send if the bundle size is too large // but it will not throw an error. this needs to be fixed sendBundle { arg time ... args; if( debug ) { ([ time ] ++ args).postln }; ^super.sendBundle( time, *args ); } sendPosBundle { arg ...

  9. AlgaStartup Quark

    ... { | value | if(value.isNumber.not, { "AlgaStartup: algaMaxIO must be a number".error; ^this }); algaMaxIO = value; this.initClass; } *maxIO { ^algaMaxIO } *maxIO_ { | value | this.algaMaxIO_(value) } *maxEnvPoints_ { | value | if(value.isN ...

  10. Key Quark

    ... changes.pop.neg)}, //... return to the previous key {"already in original key!".error} ); }, { newRoot = chromatic; newRoot.isNil.if({ newRoot = scale.degrees.wrapAt(degree); "root %\n".postf(newRoot); }); changes = changes ++ newRoot; this ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow