Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... st("OK"); if(play){ tab.state = 1; } }{ view.stringColor_(Color.red); tab.post("ERROR"); this.postErr(name, defStr, tab, view); }; //app.gui.updateScope; ^def.notNil; } postErr{|name, str, tab, view| var def, tmpFile, tmpFileName, cmdStr, r ...

  2. Dorota Quark

    ... (fn); ("Dorota: missing core file " ++ p).warn; }; }; }; if(missing.notEmpty) { Error("Dorota: incomplete installation, missing: %".format(missing.join(", "))).throw }; coreLoaded = true; ^this } // --- gui --------------------------------- ...

  3. extSoundFile-splitChannels Quark

    ... do({ |channelData, i| if( outFiles[i].writeData(channelData) == false ) { MethodError("SoundFile writeData failed.", this).throw }; //"next channel (%) written chunk\n".postf( i+1 ); // write, and check whether successful // throwing the er ...

  4. SuperDirtUGens Quark

    ... 1 | var n, pos, amp; signals = signals.asArray; n = signals.size; if(n == 0) { Error("DirtSplay input has not even one channel. Can't pan no channel, sorry.").throw }; if(n == 1) { ^Pan2.ar(signals[0], pan.fold(-1, 1), mul) } { if(n > 2) { ...

  5. server.api Quark

    ... }; ( boot: { arg reply, name=\default; sf.value(name).waitForBoot(reply, 100, { Error("Server failed to boot").throw }); }, quit: { arg reply, name=\default; var s = sf.value(name); if(s.serverRunning, { Routine.run { s.quit; s.wait(\done); ...

  6. Server.api Quark

    ... }; ( boot: { arg reply, name=\default; sf.value(name).waitForBoot(reply, 100, { Error("Server failed to boot").throw }); }, quit: { arg reply, name=\default; var s = sf.value(name); if(s.serverRunning, { Routine.run { s.quit; s.wait(\done); ...

  7. pathUtilities Quark

    ... th); obj.didLoadFromPath(this); }.try({ arg err; // could be compile or execute error ("executeFile failed: " + this).postln; err.throw; }); }, { if(warnIfNotFound, { warn("String:loadPath file not found " + this + path); ^nil }); }); if(ob ...

  8. Instr Quark

    ... .copy.addFirst(this)); if(previous.notNil, { if(previous.isKindOf(Instr).not, { Error("The Instr name address " + name + "is already occupied by a branch node. You may only add new Instr to the leaves").throw; }); previous.func = func; prev ...

  9. GameLoopVisualiser Quark

    ... , bounds).init; }, {"There is already an active instance of GameLoopVisualiser".error;} ); } init{ if (bounds.isNil, { bounds = Rect(GUI.window.screenBounds.width*0.5, GUI.window.screenBounds.height*0.5, width, height); } ); instance = this ...

  10. Instr Quark

    ... me.copy.addFirst(this)); if(previous.notNil,{ if(previous.isKindOf(Instr).not,{ Error("The Instr name address " + name + "is already occupied by a branch node. You may only add new Instr to the leaves").throw; }); previous.func = func; prev ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow