-
... 67], 1).asStream; dur = Pseq ([2, 2, 1, 0.5, 0.5, 1, 1, 2, 2, 3], 1).asStream; SynthDef ( \smooth , { |freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .linen(0.05, sustain, 0.1), doneAction: 2) ...
-
... pos - pan position, -1 is left, +1 is right level - a control rate level input SynthDef ( "help-Pan2" , { Out .ar(0, Pan2 .ar( PinkNoise .ar(0.4), FSinOsc .kr(2), 0.3)) }).play;
-
... its peak to peak level. The spectrum is emphasized towards lower frequencies. ( SynthDef ( "help-GrayNoise" , { arg out=0; Out .ar(out, GrayNoise .ar(0.1) ) }).play; )
-
... ame. dict_(a dictionary) set the dictionary to be used. // example: ( // load a synthdef s.boot; SynthDef ( \gpdef , { |out=0, freq=440, sustain=0.05, amp=0.1, pan| var env; env = EnvGen .kr( Env .perc(0.01, sustain), doneAction:2) * amp; O ...
-
... taves of pink noise, whereas PinkNoise only gives 8 octaves. // not installed ( SynthDef ( "help- PinkerNoise " , { arg out=0; Out .ar(out, PinkerNoise .ar(0.5) ) }).play; )
-
... nted envelope. InterplEnvs can be used both server-side, by an IEnvGen within a SynthDef, and clientside, with methods such as at . An InterplEnv can have any number of segments. An InterplEnv can have several shapes for its segments. Diffe ...
-
... Generates a single random integer value in uniform distribution from lo to hi ( SynthDef ( "help-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneAction:2)) ) }).send( ...
-
... ut }.play; ) // record for four seconds b = Buffer .alloc(s, 44100 * 4.0, 1); ( SynthDef ( "help-RecordBuf" ,{ arg out=0,bufnum=0; var formant, recbuf; formant = Formant .ar( XLine .kr(400,1000, 4), 2000, 800, 0.125); recbuf = RecordBuf .ar ...
-
... e outer pattern's event. If there is no definition to be found there, it uses a SynthDef with this name, if present. When passing a function to Pdef it creates a PlazyEnvir internally. Its function is evaluated in the context of the outer e ...
-
... freed already by CmdPeriod. Example 0, using an effect with parallel control. ( SynthDef ( \echo , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Linen .kr(gate, 0.05, 1, 5, 2); in = In .ar(out, 2); XOut .ar(out, ...