-
... Actions A number of UGens implement doneActions. These allow one to optionally free or pause the enclosing synth and other related nodes when the UGen is finished. These include EnvGen , Line , XLine , Linen , DetectSilence , PlayBuf , Dut ...
-
... od, but different arguments b.cueSoundFile( "sounds/a11wlk01-44_1.aiff" , 0); x.free; b.close; b.free; // loop it (for better looping use PlayBuf!) ( p = "sounds/a11wlk01-44_1.aiff" ; a = SoundFile .new; a.openRead(p); d = a.numFrames/s.sam ...
-
Free when triggered frees a node superclass: UGen *kr(trig, nodeID) trig when triggered, frees node nodeID node to be freed //example s.boot; SynthDef ( "a" , { Out .ar(0, SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg t_t=0; O ...
-
... od, but different arguments b.cueSoundFile( "sounds/a11wlk01-44_1.aiff" , 0); x.free; b.close; b.free; // cue and play right away ( SynthDef ( "help-VDiskin" , { arg bufnum = 0; Out .ar(0, VDiskIn .ar(1, bufnum, MouseX .kr(0.5, 2.0))); }).s ...
-
... e d = Synth .tail( nil , "help-Diskout" , [ "bufnum" , b]); // stop recording d.free; // stop the bubbles x.free; // close the buffer and the soundfile b.close; // free the buffer b.free; // play it back ( x = Synth .basicNew( "help-Diskin- ...
-
... s.boot; b = Buffer .alloc(s, 100, 2); // allocate 2 channels, and 100 frames b.free; // free the memory (when you're finished using it) The example above allocates a 2 channel buffer with 100 frames. The actual number of values stored is n ...
-
... = Synth .new( "tpulse" ); a = Bus .control.set(440); x.map( \freq , a); }); ) x.free; // don't send ( b = s.makeBundle( false , { x = { PinkNoise .ar(0.1) * In .kr(0, 1); }.play; }); ) // now pass b as a pre-existing bundle, and start both ...
-
... erver, in the default group x = Synth .head(g, "default" ); // now this works x.free; g.free; // if not using the default Server Integer-asTarget can be problematic Server .default = Server .local; Server .default.boot; // quit the default ...
-
... server, numChannels) Create a new audio rate instance on the given server clear Free the bus, end the monitor ar(numChannels) kr(numChannels) Return a link to my output, which is limited by numChannels . If uninitialized, creates a matching ...
-
... vertically spaced c.style = 1 // overlapped c.style = 2 // x/y ( //remember to free your stuff when finished a.free; d.free; f.free; b.free; w.close; ) /***** Interactive Example with Sound (explains all the options) *****/ ( s = Server .i ...