Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ilename, beatlength=8, eventlist, action; Server.default.serverRunning.not.if { Error("Server must be booted before creating BBCutBuffers.").throw; }; ^super.read(Server.default,filename, action: { arg buf; buf.beatlength_(beatlength); buf. ...

  2. player.api Quark

    ... ).asSymbol; }, get = { arg uuid; var p = register[uuid.asSymbol]; if(p.isNil, { Error("Player not in registery:" + uuid.asCompileString).throw; }); p }, set = { arg uuid, player; uuid = uuid.asSymbol; register[uuid] = player; uuid }; ( // c ...

  3. UGenNode Quark

    ... != defaultArguments[i]) { ^arguments.keep(i + 1); } }; ^[] }; "no method found".error; } storeOn { arg stream; var params = this.reducedArguments; stream << ugenClass.name << "." << selector; if(params.notEmpty) { stream << "(" <<<* params ...

  4. MixedBundleTester Quark

    ... romBytes(msg[1]) }); ^names } includesDefName { arg defName; if(defName.isNil,{ Error("MixedBundleTester-includesDefName : defName was nil").throw }); ^this.defNames.indexOfEqual(defName).notNil } }

  5. PnNilSafe Quark

    ... fect world, Plazy should never return nil, but we make mistakes and the risk of error here requires a complete restart of SuperCollider, which naturally we want to avoid. For event patterns, PnNilSafe behaves identically to Pn except that i ...

  6. SCMControlSpecView Quark

    ... ontrolSpecView : View { var controlSpec, mainLayout, <textInput, <>action, labelError, model,dependants,setValueFunction; // Constructor *new { |parent, bounds| ^super.new(parent, bounds).initialize(); } // Extra property accesors controlSp ...

  7. PnNilSafe Quark

    ... fect world, Plazy should never return nil, but we make mistakes and the risk of error here requires a complete restart of SuperCollider, which naturally we want to avoid. For event patterns, PnNilSafe behaves identically to Pn except that i ...

  8. Validation Quark

    ... that one wants to make an instance of some type class. Validation -> Functional Error Handling */ // Validation[E, X] Validation { match { |fsuccess, ffail| } isSuccess { } isFailure { ^this.isSuccess.not } //they are equal if they are both ...

  9. Extendable Quark

    ... ector, function| selector = selector.asGetter; if(super.respondsTo(selector)) { Error(selector.asCompileString + "exists a method name for the Extendable object, so you can't use it as pseudo-method.").throw; }; this.pr_method_dict[selector ...

  10. 7_oscar Quark

    ... ly not internet connection, NTMI.oscar should not try to join, to avoid network error messages. NTMI.oscar.close; NTMI.oscar.join; */ // the environment for oscrouter NTMI.oscar = NTMI.oscar ? (); NTMI.oscar.verbose = false; NTMI.oscar.myna ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow