-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pbeta(0.0, 1.0, 0.1, 0.1, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait ...
-
... s Instance Methods Inherited instance methods Examples ( // used to lag pitch { SinOsc.ar( // sine wave VarLag.kr( // lag the modulator LFPulse.kr(1).range(100, 400), // frequency modulator 0.2, // lag time Line.kr(-8, 8, 15, doneAction: Do ...
-
... mpo, phase, period, groove = BeatTrack2.kr(0, 4, 2.0, 0.02, lock, -2.5); beep = SinOsc.ar(1000, 0.0, Decay.kr(trackb, 0.1)); beep = Pan2.ar((vol * in) + (beepvol * beep), 0.0); Out.ar(out, beep); }).add; ) a = Synth(\help_beattrack2_1, [\bu ...
-
... 100, 3); a * 4 }.value; // this is not: { arg freq = Array.geom(4, 100, 3); Mix(SinOsc.ar(freq, 0, 0.1)) }.play; // silence // but this is: { arg freq = #[ 100, 300, 900, 2700 ]; Mix(SinOsc.ar(freq, 0, 0.1)) }.play; // produces sound! ⧉ ✔ S ...
-
... (0.1).range(0.001,chenspeedMax)); var minfreq = 20.0, maxfreq=2500.0; var sig = SinOsc.ar(chen.linexp(0.0,1.0,minfreq,maxfreq)); // Chen returns an array of values sot the ugen above is multi channel expanded amp * Splay.ar(sig, spread: che ...
-
... e, leakDC: false ).tanh.linlin(-1, 1, 100, LFDNoise3.kr(0.3).range(700, 1000)); SinOsc.ar(sig[0..1], 0, 0.2) }.play; ) x.release // two channel audio with default params x = { Fb1_Lorenz.ar(tMul: MouseX.kr(50, 300).poll)[0..1] }.play; x.rel ...
-
... t, granOut, freq = 200, amp = 0.03, in| freq = freq * (1..8); Out.ar(directOut, SinOsc.ar(freq).sum * amp * EnvGate.new); Out.ar(granOut, SinOsc.ar(freq).sum * amp); }).add; // envelopes in left channel, granulation in right SynthDef(\live_ ...
-
... , 0.05, 1, 0.1, 2); XOut.ar(out, env, (In.ar(out, 2) + (LFPulse.kr(1, 0, 0.3) * SinOsc.ar(1000) * 0.4))); }, [\ir, 0.1, 0.1, 0]).add; ) ( var a; a = Pbind(\degree, Prand((0..7), 12), \dur, 0.3, \legato, 0.2); a = Pfxb(a, \echo, \dtime, 0.2, ...
-
... amp= 0.5| var e= EnvGen.kr(Env.asr(0.01, 1, 0.01), gate, doneAction:2); var z= SinOsc.ar(freq, 0, amp); Out.ar(out, z*e); }).add; ) ( b= Pbind( \instrument, \redMatrixMixerTest, \degree, Pseq([0, 1, 5, 4, 3, 4], inf), \dur, 0.25, \amp, 0.7 ...
-
... r(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) ( // a fixed duration pattern: f = Pbind( \dur, 0.5, \degree, Pn(4, 1), \instrument, \help_sinegrain ); // this pattern ...