-
... amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in the middle. SynthDef(\pmWide, { |out, amp=0.1, carr=440, mod=880, index=0, sustain=0. ...
-
... = EnvGen.kr(theEnv, 1, doneAction: 2); sig = PlayBuf.ar(2, buf, BufRateScale.ir(buf) * rate, startPos: start); sig = sig * env; Out.ar(out, sig * amp) }).add; ( SynthDef(\warp, {|buf = #[0,0], rate = 1, freq = 261.6255653006, am ...
-
... mono buffer) input = In.ar(inBus, 1); localBuf = LocalBuf.new(SampleRate.ir * 1, 1).clear; record = RecordBuf.ar(input, localBuf, loop: 0); //// Granulate: // Random distribution of triggers prevents amplitude modulation a ...
-
This code generates fractal noise by cascading N first order filter sections. beta = 0 -> white noise, beta = 1 -> pink noise, beta = 2 -> brown noise. Not too sure about the normalization constant, since it is purely based on empirical rea ...
-
... tereo DelayC.ar(verbL, 0.25, kBody), DelayC.ar(verbR, 0.25, max(SampleDur.ir, kBody - (4 * SampleDur.ir))), // echo delay feedback echoOutL, echoOutR ]); // final mix: dry + echo wet, then limiter Out.ar(out, Limiter. ...
-
... se (taken from documentation example) + { LatoocarfianC.ar( SampleRate.ir/4, LFNoise2.kr(2,1.5,1.5), LFNoise2.kr(2,1.5,1.5), LFNoise2.kr(2,0.5,1.5), LFNoise2.kr(2,0.5,1.5) ) * 0.1 // volume } + { FBSineN.ar ...
-
Example of a basic feedback delay network or FDN of order 8. Requires the MathLib quark. Use the scale argument to increase / decrease the delay time and the coef argument to control the decay time. Smaller scale values produce resonating s ...
-
... ngthInBeats * reso); var clockPos = Phasor.ar(imp, clockFreqFull / SampleRate.ir, 0, 1, 0); var barCounter = PulseCount.ar(imp); Out.ar(30, barCounter); Out.ar(31, imp); Out.ar(32, clockPos); Out.ar(33, impSubDivs); }).store; ...
-
... 05, 0.01, curve: \lin).ar); snd = snd + (BPF.ar(Impulse.ar(0) * SampleRate.ir / 48000, 6100, 1.0) * 3.dbamp); snd = snd + (BPF.ar(Hasher.ar(Sweep.ar), 300, 0.9) * Env.perc(0.001, 0.02).ar); snd = snd + (SinOsc.ar(XLine.ar(472 ...
-
... SelectX.ar(bpWet, [src, bpF]); redux = Latch.ar(src, Impulse.ar(SampleRate.ir * (rateRedux/2))); redux = redux.round(0.5 ** bits); SelectX.ar(1 + rWet, [src - redux, src, redux]); }) ) Ndef(\ambienceMaker).gui 13280 * 2 ...