-
... InFeedback.ar(10), delaytime: (noise+20)/1000); OffsetOut.ar(10, (humSource + OnePole.ar(comb * 0.2, exp(-2pi * (3000 * SampleDur.ir))))); comb!2 ; }.play; ) //Fig 39.8: Hum and sparks //Contains the subpatches shown in ...
-
... ggle, [1,0])))) * 600; toy = Clip.ar(toy, 0, 1); toy = (toy - OnePole.ar(toy, exp(-2pi * (10 * SampleDur.ir)))); toy = OnePole.ar(toy, exp(-2pi * (30 * SampleDur.ir))); noise = WhiteNoise.ar; ...
-
... = EnvGen.ar(Env.new([0, 1, 0], [4/44100, 0]), trig) * demand; cricket = OnePole.ar(cricket, exp(-2pi * (1000 * SampleDur.ir))); cricket = ( // changed the Q factor of the first 3 BPFs to approximate farnells sound BPF.ar( ...
-
... 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 ...
-
... 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 ...
-
... ; 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 ...
-
... nv[0] = (env[0] - 0.5) + ((env[0] * 2 * 2pi).cos * 0.3); redAlert = (env[0] - OnePole.ar(env[0], exp(-2pi * (1 * SampleDur.ir)))) * env[1]; redAlert = redAlert + (cIn * 0.006) * 0.2; // fig 58.6: Delay feedback element dfbe = ...
-
... )).range(0, 700) + 220) ); SelectXFocus.ar(mx * n, a, my * n) * 0.2 + OnePole.ar(PinkNoise.ar(0.5 ! 2), 0.4) * Line.kr(0, 1, 3); }.play; ) // jimmy played harmonica in the pub where I was born // (hh) (jrh) (cc 2006) ...
-
... o Andy Hayleck from the SC list for the code I used as a starting point. { x = OnePole.ar(WhiteNoise.ar(0.1)+Dust.ar(100, 0.5), 0.7); x = x + Splay.ar(FreqShift.ar(x, 1/(4..7))); }.play
-
... teEnv * 120 + 775) + (WhiteNoise.ar(0.1) + SinOsc.ar(30, mul:40)); activate = OnePole.ar(activateEnv, exp(-2pi * (30 * SampleDur.ir))) * LFSaw.ar(activate, 1, 0.5, 0.5 ); // adding a percussive shape at the beginning of the sound a ...