-
... en is finished FreeSelfWhenDone.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr and the Buffer delay UGens set a 'done' flag when they are finished playing. FreeSelfWhenDone will free the enclosing s ...
-
... lo World!" .postln; To execute it, simply click to place the cursor on the same line as the code and then press the enter key. Note that the 'enter' key is not the same as the 'return' key. The 'enter' key is the one that is on the number p ...
-
... plication download. To browse or search the documentation execute the following line of code: Help .gui; //to run a single line of code put the cursor anywhere on the line and execute To execute code, use the keyboard shortcut: Enter (not R ...
-
... uts for key commands in other editors. Synthesizing sound To run (evaluate) one line of code, such as { SinOsc .ar([400, 401], 0, 0.1) * Saw .ar([11, 33], 1) * EnvGen .kr( Env .sine(10)) }.play first make sure that the localhost server is b ...
-
... ace-delimited files, or custom delimiters, use: FileReader *read(path, skipEmptyLines) ( // write a test file: f = File ( "TabDelTest.sc" , "w" ); f.write( "Some tab- delimited items in line 1 and then some more in line 3 " ); f.close; ) // ...
-
XLine exponential line generator XLine.ar(start, end, dur, mul, add, doneAction) XLine.kr(start, end, dur, mul, add, doneAction) Generates an exponential curve from the start value to the end value. Both the start and end values must be non ...
-
... titleString.size); doc.selectRange(documentedIndex, documented.size); doc.underlineSelection; // Click on name opens class browser doc.mouseDownAction = { arg document; var line; line = document.currentLine; if((document.selectionStart > c ...
-
... used for debugging purposes. // examples: s.boot; { Poll .kr( Impulse .kr(10), Line .kr(0, 1, 1), \test ) }.play(s); // multichannel expansion: { Poll .kr( Impulse .kr([10, 5]), Line .kr(0, [1, 5], [1, 2]), [ \test , \test2 ]) }.play(s); / ...
-
... terpret Selection (only if transient-mark-mode is on) C-c C-c Interpret current line C-c C-e Evaluate expression (in minibuffer) C-M-x Interpret defun C-c C-f Interpret current document Control the interpreter C-c C-s Stop (CmdPeriod) / Mai ...
-
... rCollider, either precede text with // as in // Everything up to the end of the line is a comment or place text on one or more lines between /* and */ as in /* This is a comment */ If (when) evaluated, a comment will return nil, which is th ...