-
... ; name.isKindOf(Symbol).if{ engine = jitterEngines.at(name); if(engine.isNil) { Error("%: jitterType % not defined.").format(this, name).throw }; ^engine.value(freq, selector); }; // default case engine = Select.perform(selector, name, [ LF ...
-
... top Func."]]) .action_ ({ var funcString; if(stopFunc == nil, //if there was an error in last func compilation { funcString = stopCodeDoc.lastFuncString; //return to last document contents }, {//if all was good last time funcString = stopFu ...
-
... sKindOf(Association)) { server = Server.named.at(key.value); if(server.isNil) { Error("Ndef(%): no server found with this name.".format(key)).throw }; key = key.key; } { server = defaultServer ? Server.default; }; dict = this.dictFor(server ...
-
... var i0 = 0; string = string.asStrang; last = string.size - 1; if(ignoreCase) { Error("ignoreCase not yet implemented").throw }; while { index < this.size } { if(this.at(index + i0) == string.at(i0)) { if(i0 < last) { i0 = i0 + 1; } { ^inde ...
-
... ventList.add(thisEvent)}, { "At least one element of the Array is not an Event".error} ); } } {that.class == Routine} { that.nextN(n,()).do { |thisEvent| eventList = eventList.add(thisEvent) }; } {(that.class == Event or: that.class == Arra ...
-
... es| if(server.serverRunning.not, {(this.class.asString++": server not running").error; this.halt}); keys.put(key, { //associate key with array of voice objects this.prCreateVoice(buffer, startFrame, numFrames); }.dup(overlaps)); } prCreateV ...
-
... Array(arguments); }); // operator is symbol if(operator.isKindOf(Symbol).not, { Error("Operator is not a symbol:" + operator + "in form:" + this).throw }); subject = arguments.removeAt(0); subject = subject.ilisp; // resolve sexp ^subject.p ...
-
... Array(arguments); }); // operator is symbol if(operator.isKindOf(Symbol).not, { Error("Operator is not a symbol:" + operator + "in form:" + this).throw }); subject = arguments.removeAt(0); subject = subject.ilisp; // resolve sexp ^subject.p ...
-
... division by zero, reciprocal of zero, and terms that are not numbers now throw `Error`. 3. Use `.asInteger` before passing exact results to primitive APIs that need an integer. 4. Removed the old `Event` and `Pseq` core overwrites.
-
... alues } } } + KeyBus { values_ { |vals| if(vals.flat.size != bus.numChannels) { Error("values do not have the right shape.").throw; }; values = vals; bus.setn(values.flat); } }