-
... awner // example 1: a simple Pspawner ( Pspawner ({ | sp | // parallel in-c'ish pulses will run throughout the example sp.par( Pbind (*[ degree: [0,7], octave: 7, dur: 0.2, db: Pseq ([-20, -24, -22, -24], inf )]) ); // scales in sequence wi ...
-
... nOsc .ar(~lfo.kr, 0, 0.15) }; ~out = { SinOsc .ar(~lfo.kr * [1, 1.2], 0, 0.1) * Pulse .ar(~lfo.kr * [0.1, 0.125], 0.5) }; ~lfo = { LFNoise1 .kr(30, 40) + SinOsc .kr(0.1, 0, 200, 500) }; ~out = { SinOsc .ar(~lfo.kr * [1, 1.2], 0, 0.1) }; ~lf ...
-
... set the source p[ \out ] = { SinOsc .ar([350, 351.3], 0, 0.2) }; p[ \out ] = { Pulse .ar([350, 351.3] / 4, 0.4) * 0.2 }; p[ \out ] = Pbind ( \dur , 0.03, \freq , Pbrown (0, 1, 0.1, inf ).linexp(0, 1, 200, 350)); p[ \out ] = { Ringz .ar(p[ ...
-
... 1; var synth, env; env = Decay2 .kr(gate, 0.05, 8, 0.0003); synth = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12, [0, 0.5pi], 0.48, 0.5)), freq * SinOsc .kr(0.21, 0, 18, 20), 0.07 ); #a, b = synth*env; DetectSilence .ar(a, 0.1, doneAction ...
-
... "saw" , Color .black, Color .rand], [ "noise" , Color .black, Color .rand], [ "pulse" , Color .black, Color .rand] ]) .action_({ arg butt; butt.value.postln; }); w.front; ) // does not do action b.value = 2; // does action if it results in ...
-
... this SynthDef has a strong attack, emphasizing the articulation SynthDef ( \sawpulse , { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc .kr(plfofreq ...
-
... 1, gate = 1| var out; out = EnvGen .ar( Env .adsr, gate, doneAction: 2) * amp * Pulse .ar(freq, 0.25, 0.75); Out .ar(outbus, out ! 2); }).add; // see below for more on .add p = Pbind ( // Use \harpsi, not \default \instrument , \harpsi , \d ...
-
... = 0.01, freq = #[300,400,400], pan, gate = 1 | var audio, env; audio = Mix .ar( Pulse .ar(freq, 0.5)); // this is a mixture of three oscillators env = Linen .kr(gate, susLevel: amp , doneAction: 2); // envelope deletes the synt when done au ...