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