-
... if(pole.magnitude > 1.0, { "Pole magnitude is larger than 1.0.\n".warn }) }, { Error("Input must be of type Polar.\n").throw }) }) }, { Error("Input must be an Array of type Polar.\n").throw }) }) } zeros { if(zeros.size > 0, { ^zeros }, { ...
-
ImmutableError: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Undocumented instance methods errorString value Help template Classes | Undocumented classe ...
-
... imic language-style control methods: conditionals ( Pif ), loops ( Pwhile ) and error cleanup ( Pprotect ). Pif(condition, iftrue, iffalse, default) Evaluates a pattern condition that returns true or false. Then, one value is taken from the ...
-
... systemIsCaseSensitive mkdir delete deleteAll realpath copy type fileSize mtime Error handling in filesystem utilities Inherited class methods Instance methods open close readAllString readAllStringHTML readAllStringRTF readAllSignal seek p ...
-
... |code| if("/+(".includes(code.first)) { try { \chucklibLiveCode.eval(code) } { |error| // Error is not typically used in the SC class library. // If you get an Error here, it's probably an error parsing a cll statement. // You don't need th ...
-
... = false; var fadeTimeProvided = false; //invalid func if(func.isFunction.not, { Error("AlgaSynthDef: func is not a Function").algaThrow; }); // build the controls from args output = SynthDef.wrap(func, rates, prependArgs); output = output.a ...
-
... } *c2o {|n| ^(n.sqrt - 1) } *pr_checkServerBooted { |server| if(server.isNil) { Error("%: invalid server argument: Nil".format(thisMethod)).throw }; if(server.serverRunning.not) { Error("%: Server not booted".format(thisMethod)).throw } } }
-
... nsation. scsynth and supernova: Fixed scsynth's latency compensation had a math error that ended up doubling the latency. It is fixed now. For consistency with scsynth, supernova no longer requires the final argument to /b_allocReadChannel ...
-
... hi_ { // on second thought, no, just swallow the call // SubclassResponsibilityError(this, 'hi_', this.class) } } ClRangeNumProxy : ClNumProxy { var <>lo, <hi; *new { |lo = 0.0, hi = 1.0| ^super.new.lo_(lo).hi_(hi) } init { val = Pfunc { r ...
-
... { doAfter { |obj| if (obj.respondsTo(\addDoAfter)) { obj.addDoAfter(this); } { Error("Target (%) cannot register objects for freeAfter/doAfter.".format(obj)).throw; } } } +Object { freeAfter { |obj| { this.free }.doAfter(obj) } closeAfter ...