Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. 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); ...

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

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

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

  5. bouncy-ball delay by snappizz (snappizz) Code

    ... r); cumulDelay = iois.sum; (cumulDelay > ~buf.duration).if { Error("use a larger buffer").throw; }; snd = Silent.ar; iois.reverse.do { |ioi| snd = (snd + DelTapRd.ar(~buf, phase, cumulDelay, interp ...

  6. Neuromodules Plugin

    ... utputs { arg numChannels, rate; if(numChannels.isNil or: { numChannels < 1 }, { Error("%: wrong number of channels (%)".format(this, numChannels)).throw }); channels = Array.fill(numChannels, { arg i; OutputProxy(rate, this, i); }); if (num ...

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

  8. MultiLevelLibraryBrowser Quark

    ... SCAlert.asClass.isNil.if { ^{"wslib Quark must be installed for delete to work".error}; }; ^{|obj, char, mod, unicode, keycode, key| var ind=i; [obj, char, mod, unicode, keycode, key].postln; ((key==16777219)||(key==16777223)).if{ dict.clas ...

  9. MugicSpatCon Doc

    ... s_starting is_preloading midi_running osc_running mugic_battery mugic_last_seen error_str App internals n_input_chans tracks decoder midi osc Inherited instance methods Examples Classes (extension) | Libraries > MugicSpatCon'>MugicSpatCon M ...

  10. asChannelIndex Quark

    ... ltPort), this) } } + Object { asMIDIChannelNum { ^this } // will probably throw error } + Nil { // first port, channel 0 asChannelIndex { ^0.asChannelIndex } asMIDIChannelNum { ^0 } active { ^false } // if a midi control's destination is ni ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow