-
... t1") ** Note; if the midiOut index points to a non-existing MIDI destination an error message will be displayed and playback may stop. -- this is an Udef definition file part of the Unit lib default Udefs set */ FreeUdef( "midi_ccOut", [ [ ...
-
... ndex; case { k == (part.size + 1) } { eqPart = part } { k > (part.size + 1) } { Error("no possible partition").throw; } { k == 2 } { m = part.size; r = part.detectIndex(_ >= (this/2)); case { r.isNil } { eqPart = [part[m-1]] } { r == 0 } { ...
-
... ar scale = 1.0; if ((number.nextPowerOfTwo != number), { "Error: length of values must be power of two.".postln; nil ; }, /*else*/ { /* Mainumber loop. Iteratively compute the hadamar ...
-
... o { |object, i| if(objectFunc.notNil) { objectFunc.value(object, i); }; }; } { "error: no function to create the environment registered. Use creationFunc_{|dimple|} to register a function to create an interactive environment."; }; } updateO ...
-
... ). If one calls >>=| on a class that is not a monad (doesn't implement >>= ) an error is thrown. Some methods such as sequence cannot be used like in Haskell because SuperCollider doesn't have the sophisticated type system to infere the rig ...
-
... kill the buffer queue try { ~bufTimes[i] = buf.numFrames / buf.sampleRate } { |error| error.reportError; } // display error but continue }; ~ampsSize = { var divCycleArray = ~divCycle.asArray; ~beatsPerBar.value / divCycleArray.sum * divCy ...
-
... File { |path| soundFile = SoundFile.openRead(path); if (soundFile.isNil, { "*** error reading sound file %".format(path).postln; soundFileView.soundfile = nil; startLabel.string = ""; durationLabel.string = ""; pathLabel.string = ""; numCha ...
-
... nguageConfig. store ( file ) Store the current configuration to file. Throws an error if the config file cannot be opened or if writing fails. Arguments: file Path to the configuration file to store. If the value is nil it defaults to curre ...
-
... choose } second condition true In this case, the second condition will cause an error if a is nil, because nil does not understand addition. a.notNil is a safeguard to ensure the second condition makes sense. a = nil ; a.notNil and: { "seco ...
-
... ces ? 0; if(argNumPieces < 1, { "You should provide an argument bigger than 0.".error; ^this.halt; }); ^super.new.init(argNumPieces); } init {|argNumPieces| pieces = argNumPieces.collect({ MoltenPiece.new(this); }); doneCondition = Conditio ...