-
... or,args) Forwards any methods (e.g. writing data to the file) to the fileClass. Example 1 - zip and bundle m = MultiFileWriter .new( "testfile14.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; } ...
-
... adata: ( credit: "based on something posted 2008-06-17 by jeff, based on an old example by james mcc", tags: [\casio, \piano, \pitched] ) )
-
... ys = 4, <>maxArrays = 24; *prefix { ^"wfsfd" } *getDefName { |numArrays = 4| // example: "wfsf_8" : focus detection def for 8 arrays ^[ this.prefix, numArrays ].join("_"); } *generateDef { |numArrays = 4| ^SynthDef( this.getDefName( numArra ...
-
... creation A factory creates an object that depends on other support objects. For example, a voicer may use buffers as wavetables or samples. The factory for this voicer is responsible for creating the buffers and returning the voicer. Requir ...
-
... creation A factory creates an object that depends on other support objects. For example, a voicer may use buffers as wavetables or samples. The factory for this voicer is responsible for creating the buffers and returning the voicer. Requir ...
-
//sound+scope example - performing notch and bandpass filtering with scsynth and play out in stereo //note: this is more like a template showing how to get and use the bci data in scsynth ( ~openbci= CytonSerial("/dev/tty.usbserial-DM00DRM0 ...
-
... have more hardware plugged into the system int - default nil allows all sources Examples: // simple example m = CCIn .new; // listen to all midi in ports and all midichannels x = { SinOsc .ar(m.kr(0, 0, \freq ), 0, 0.2)}.play // MIDI Chan = ...
-
... total value is exactly equal to the desired sum. *new(sum, pattern, tolerance) Example: p = Plimitsum (10.0, Pwhite (0.5, 1.5, inf )).asStream; q = p.nextN(30); q.reject( _ .isNil).sum // compare to Pconst, whose sum should be exactly 10.0 ...
-
... total value is exactly equal to the desired sum. *new(sum, pattern, tolerance) Example: p = Plimitsum (10.0, Pwhite (0.5, 1.5, inf )).asStream; q = p.nextN(30); q.reject( _ .isNil).sum // compare to Pconst, whose sum should be exactly 10.0 ...
-
... d. If you need to share the same argument stream across multiple synthdefs (for example, to realize a single pitch contour but switch synthdefs on each note), use BPStream in the arguments arrays as a reference to this same environment vari ...