-
... arg out, bufnum, from=0.0, to=1.0, sustain=1.0; var env; env = EnvGen .ar( Env .linen(0.01, sustain, 0.01), 1, doneAction:2); Out .ar(out, BufRd .ar(1, bufnum, Line .ar(from, to, sustain) * BufFrames .kr(bufnum) ) * env ) }).store; ) s.send ...
-
... method which assumes that the synth contains an envelope generator (an EnvGen , Linen , or similar UGen ) running a sustaining envelope (see Env ) and that it's gate argument is set to a control called \gate . This method will cause the env ...
-
... bufnum, BufRateScale .ir(bufnum), 0, start); sig = sig * amp * EnvGen .kr( Env .linen(0.01, dur, 0.01), doneAction: 2); Out .ar(out, sig ! 2) }).add; ) ( TempoClock .default.tempo = 1; p = Pfset ({ ~buf = Buffer .read(s, "sounds/a11wlk01.wa ...
-
... s of numbers // Env as a pattern Pbindf ( Pn (q, inf ), \ctranspose , Pn ( Env .linen(3, 0, 0.3, 20), inf ) ).play; // Pwhite(lo, hi, length) Pbindf ( Pn (q, inf ), \ctranspose , Pwhite (-3.0, 3.0) ).play; // Pbrown(lo, hi, step, length) Pb ...
-
... een' -> Color .new255(50, 205, 50), 'LimeGreen' -> Color .new255(50, 205, 50), 'linen' -> Color .new255(250, 240, 230), 'magenta' -> Color .new255(255, 0, 255), 'magenta1' -> Color .new255(255, 0, 255), 'magenta2' -> Color .new255(238, 0, 2 ...