-
... 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 ...
-
... lor = color ? Color.gray(0.25); selected = selected ? []; // drawMode 0: points+lines, 1: lines, 2: points, 3: none, 4: hi-res lines scale = pixelScale.asArray.mean; Pen.use({ // draw contents Pen.scale( 1, -1 ); //// this points = this.pos ...
-
... ~addrBook); a = NMLNetRecord.new(~addrBook, s); { SinOscFB.ar(Rand(400.0, 300), Line.kr(1, 3, 10, doneAction:2)) * 0.1 }.play; a.start; // hit cmd-period, wait a little, then: { SinOscFB.ar(Rand(400.0, 3000), Line.kr(3, 1, 10, doneAction:2) ...
-
... uch as you want. This makes it much easier to make complex networks of feedback lines, and leads to much more readable code. Additionally, FbNode has an optional built-in multi-tap delay line, so you can easily control the time period of yo ...
-
... 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; ) // ...
-
... eepCopy; direction = f.get( \direction ); mode = f.get( \mode ); switch( mode, \line, { current = current.collect(_.rotate( direction * 0.5pi) ); mean = current.collect(_.x).mean; current = current.collect({ |item| item.x = mean; item.rotat ...
-
... 2, ] ] ] ] ] ] ).duration_( 10 ).fadeOut_( 1 ).gain_( -6 ); }) ); c.gui; ) ( // line n = 12; // number of events p = -8 @ -8; // start point q = 8 @ 8; // end point d = UScore( *n.collect({ |i| UChain(0, i, [ \formant, [ \freq, (44 + (i*2)) ...
-
... efault TabFileReader) Accessing Instance and Class Variables next Read the next line in the files nextInterpret Read the next line in the files and interpret openFile(ind) Open a file from the bundle. ind The id of the file (the line at whi ...
-
... inSize = 24; var thisSymbolMaxSize = 96; var symbolPosition = 0; var thisDisplayLine = \full; var thisDisplayValue = true; var thisFontRatio = 0.3; var thisRoundValue = 0.01; var thisCenterValue = true; var thisDisplayFunction = nil; var th ...
-
... s", uv.bounds, Font("Futura", 24), Color.white ); }; // make sure history has a line History.enter("// this is a historic line"); // and show the last entered code line on the demo userview: q.draw.demoUV.drawFunc = { |uv| Pen.stringCentere ...