-
... (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 .ar(freq, 0, ...
-
... will loop. See also: PlayBuf , BufRd s.boot; // start the server ( SynthDef ( "help-Diskin" , { arg bufnum = 0; Out .ar(0, DiskIn .ar(1, bufnum, 1)); }).add ) Using Buffer (Object Style) b = Buffer .cueSoundFile(s, "sounds/a11wlk01-44_1.ai ...
-
... he duration of the synth's existence. See also: LinRand , ExpRand ( SynthDef ( \help_Rand , { | out = 0, minmax = 1 | Out .ar(out, FSinOsc .ar( LinRand (200.0, 10000.0, minmax), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( Rou ...
-
... rver .local; s.boot; ) // Compile a SynthDef and write it to disk ( SynthDef ( "Help-SynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).writeDefFile; ) // Compile, write, and load it to the server ( SynthDef ( "Help-SynthDef" , { ...
-
... this is equivalent to pattern.wrap(lo, hi) see also SimpleNumber ( 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 .ar(freq, 0, ...
-
... ooth hump as n increases, distribution converges towards gaussian ( SynthDef ( "help-NRand" , { arg out=0, n=0; Out .ar(out, FSinOsc .ar( NRan d(1200.0, 4000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( n = 0; Routine({ ...
-
... ize of this once a SynthDef has been built. See the Server-Architecture and Bus helpfiles for more information on buses and how they are used. for achieving subsample accuracy see: SubsampleOffset // example ( SynthDef ( "help-OffsetOut" , ...
-
... at. dt - time step parameter. Default is 0.04. //not defined yet! ( SynthDef ( "help-Rossler" , { arg out=0; Out .ar(out, Rossler .ar(4, 0.08) ) }).play; ) ( a = SynthDef ( "help-Rossler" , { arg out=0, param=4, dt=0.04; Out .ar(out, Rossle ...
-
... (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 .ar(freq, 0, ...
-
... 1.0, 0.2, 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 .ar(freq, 0, ...