-
... ). 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 ...
-
... 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 ...
-
... ails if the generated code differs from its snapshot, if SuperCollider posts an error, or if its check (for example "track 1's volume is -10") is false. ## Run the tests on a Mac In the SuperCollider IDE: ``` ~radTestMode = \check; // \upda ...
-
... alue(mode) }, { ~mode = (mode.size > 0).if({ mode[0] }, { mode }); }); }.try({ |error| Error("Error translating MIDI to modal. Check to see if default mode is defined.") .throw; }); ~modeSubstitution = parms.atBackup(\modeSub, storage); ~an ...
-
... ppSupportDir).unixCmd; }, {"Only linux and osx are currently supported, sorry.".error} ) }; q.init = { // some specs of the weather q.specs = IdentityDictionary[ \temp -> ControlSpec(-30, 40), \hum -> ControlSpec(0, 100), \wind -> ControlSp ...
-
... alue(mode) }, { ~mode = (mode.size > 0).if({ mode[0] }, { mode }); }); }.try({ |error| Error("Error translating MIDI to modal. Check to see if default mode is defined.") .throw; }); ~modeSubstitution = parms.atBackup(\modeSub, storage); ~an ...
-
... { transitions.size.rand } { res = transitions[weights.windex]; if(res.isNil) { Error("not the right number of transitions / weights").throw }; res }; } newChain { arg delta=0.1, length=4, blendFactor=0.5, inject=false, sendData; var info; ...
-
... preload"; client_max_body_size 0; access_log /var/log/nginx/remote.access.log; error_log /var/log/nginx/remote.error.log; } listen 80; } ``` Modify it according to your URL and port mappings, restart nginx and let [certbot](https://certbot ...