-
... ts are given directly rather than calculated for you. Formula is equivalent to: out(i) = (a0 * in(i)) + (a1 * in(i-1)) + (b1 * out(i-1)) Examples: ( // same as OnePole { var x; x = LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 ...
-
... [0, 0.6, 0.3, 1.0, 0], [0.1, 0.02, 0.4, 1.1], [ \lin , \exp , -6, \sin ]).plot; Out .ar(0, sin * // use MouseX to index into the InterplEnv to control amps IEnvGen .kr(env, MouseX .kr(0, env.times.sum)) * EnvGen .kr( Env .asr(0.01, 1, 0.01) ...
-
... Pseries (0, 0.01, inf )); // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }). ...
-
... e quant value of the source pattern // example: ( SynthDef ( "Pdefhelp" , { arg out, freq, sustain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar ...
-
... r nil), nil ] next states: nil is terminal ( 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, env)) }).add; ) ( a = P ...
-
... ViewRedirect . In most cases this involves simply using the class base name without any prefix, like in the example above. Behind the scenes, the above technique actually automatically redirects to the appropriate GUI class method. For a ta ...
-
... ch { 100.do { y.next } }; // 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, env)) }).add; ) ( var t ...
-
... notebook.. see also: [ RandSeed ] [ Pseed ] [ Thread ] // every thread, also a Routine, has a random generator seed: ( r = Routine ({ loop({#[1,2,3,4,5].choose.yield }) }); r.randSeed = 1923; ) // using the routine to fill an array Array .f ...
-
... ); p.makeTempoClock; p.clock; // now the ProxySpace's clock is a TempoBusClock ~out.play; ~out = { Ringz .ar( Impulse .ar(~tempo.kr), [501, 500], 1/~tempo.kr) * 0.3 }; p.clock.tempo = 1.3; // patterns and tasks are synchronized: ~out2.play; ...
-
... based on buffer size. in - the signal to write to the buffer. phase - DelTapWr outputs its current sample value for use in the phase argument in DelTapRd DelTapRd tap a delay line from a DelTapWr UGen DelTapRd.ar(buffer, phase, delTime, in ...