-
... to(500).plot(bounds: Rect (10, 410, 520, 380), parent: w); ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... asStream; 24.do({ x.next.postln; }); ) Pswitch used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(fre ...
-
... 105, 5, 107, 106, 1, 104, 8, 102, 102, 4, 108, 8, 109, 101 ] // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... sto(500).plot(bounds: Rect (10, 410, 520, 380), parent: w);) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... ({ x.next( Event .default).postln; }); ) Pconst used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... a = Pwhite (0.0, 1.0, inf ); a.asStream.nextN(1000).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... f execution. Add actions: By specifying an addAction argument for Synth.new (or SynthDef.play, Function.play, etc.) one can specify the node's placement relative to a target. The target might be a group node, another synth node, or a server ...
-
... t. ////////////////////////////////////////////////////////////// // Note: This SynthDef used throughout this document ( s = Server .local; SynthDef ( \help_SPE3_SimpleSine , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0. ...
-
... rest and nothing will play on the server. It doesn't matter whether or not the SynthDef has a 'freq' control; a symbol in this space produces a rest. Here it's a simple conditional to produce a rest when amp == 0. Pbind(...) : The meat of ...