-
... def( \babblingbrook_jmc, { |amp = 0.1| var son; URandSeed.ir(); son = ({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(BrownNoise.ar, 14) * 400 + 500, 0.03, 0.003)}! Udef.numChannels ) + ({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(Br ...
-
... s(sig * 2pi) * outputAmplitude; // One pole filters: sig = OnePole.ar(sig, exp(-2pi * (10000 * SampleDur.ir))); sig = OnePole.ar(sig, exp(-2pi * (10000 * SampleDur.ir))); sig = (sig - OnePole.ar(sig, e ...
-
... 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 - x.abs, 0.0, x) }.play; ) ( // same as OneZero { var x; x = LFTri .ar(0.4, 0, ...
-
... c = SinOsc.ar(freq*[kaos/2, kaos, kaos/4, kaos*2, kaos/10], 0, kaos/2); local = OnePole.ar(local, 0.4); local = OnePole.ar(local, -0.08); local = Rotate2.ar(local[0], local[1], 0.2); local = LeakDC.ar(local); local = (local + kaos); LocalOu ...
-
... (out, 2); in2= dry*(Amplitude.kr(Mix(dry))>thresh); wet= LocalIn.ar(2)*fb; wet= OnePole.ar(OnePole.ar(wet, 0.4), -0.08); wet= Rotate2.ar(wet[0], wet[1], Rand(0.1, 0.25)); wet= DelayL.ar(wet, 2, rate.min(2)); wet= LeakDC.ar(wet); wet= ((wet+ ...
-
... (1, e, BufRateScale .kr(e), loop: 1); // JMcC babbling brook in2 = ({ RHPF .ar( OnePole .ar( BrownNoise .ar, 0.99), LPF .ar( BrownNoise .ar, 14) * 400 + 500, 0.03, 0.003)}!2) + ({ RHPF .ar( OnePole .ar( BrownNoise .ar, 0.99), LPF .ar( Brown ...
-
... ecibels. Negative times emphasize odd partials. coef - the coef of the internal OnePole filter. Values should be between -1 and +1 (larger values will be unstable... so be careful!). s.boot; // excitation signal is WhiteNoise, triggered twi ...
-
... SynthDef(\click, { |out, amp=0.1| var snd; snd = Impulse.ar(0); snd = OnePole.ar(snd, ~coeff.(Rand(500, 10000))); DetectSilence.ar(snd, doneAction: Done.freeSelf); snd = snd * amp; snd = Pan2.ar(snd, pos: Rand(-1, 1)); Out ...
-
... class methods Instance Methods Inherited instance methods Examples ( // same as OnePole { var x; x = LFTri.ar(0.4, 0, 0.99); FOS.ar(LFSaw.ar(200, 0, 0.2), 1 - x.abs, 0.0, x) }.play; ) ( // same as OneZero { var x; x = LFTri.ar(0.4, 0, 0.99) ...
-
... ; resonance = (resonance * 2pi).cos; resonance = (resonance - OnePole.ar(resonance, exp(-2pi * (180 * SampleDur.ir)))); resonance = (resonance - OnePole.ar(resonance, exp(-2pi * (180 * SampleDur.ir)))); r ...