-
... In.ar(in)} {In.ar(in)}; //pos = Phasor.ar(0, BufRateScale.kr(buffer.bufnum), 0, BufFrames.kr(buffer.bufnum)); trig = Impulse.ar(buffer.sampleRate / buffer.numFrames); pos = Sweep.ar(trig, buffer.sampleRate * running); amp = Amplitude.kr(sou ...
-
... * preAmp, foldRange: foldRange, smoothAmount: smoothAmount ) * localOscSize ) * BufFrames .ir(bufnum) ); // as local oscillation can stick with positive or negative values, a dc leaker is recommended Out .ar(0, LeakDC .ar(sig) * EnvGate .ne ...
-
... 2) * PlayBuf .ar(1, bufnum, rate * BufRateScale .kr(bufnum), startPos: offset * BufFrames .kr(bufnum) ) * (10 * amp) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth ( \help_PlayBuf , [ \ ...
-
... * preAmp, foldRange: foldRange, smoothAmount: smoothAmount ) * localOscSize ) * BufFrames.ir(bufnum) ); // as local oscillation can stick with positive or negative values, a dc leaker is recommended Out.ar(0, LeakDC.ar(sig) * EnvGate.new) } ...
-
... nds/a11wlk01.wav" ); 0.2.yield; // sync seems to be incompatible with patterns ~bufFrames = ~buf.numFrames; }, Pbind ( \instrument , \playbuf , // access resources in the protoevent by Pkey \bufnum , Pkey ( \buf ), \dur , Pwhite (1, 4, inf ...
-
... ExampleFiles.child); 0.2.yield; // sync seems to be incompatible with patterns ~bufFrames = ~buf.numFrames; }, Pbind( \instrument, \playbuf, // access resources in the protoevent by Pkey \bufnum, Pkey(\buf), \dur, Pwhite(1, 4, inf) * 0.25, ...
-
... ufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd; snd = BPF.ar(snd, ffreq, rq, env); snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; SynthDef("p ...
-
... var sig = PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum) * rate, startPos: pos * BufFrames.kr(bufnum)); var env = EnvGen.kr(Env.perc(0.003, decay, curve: -3), doneAction: 2); sig = sig * env; sig = tanh(sig * (1 + boost)); OffsetOut.ar(out, ...
-
... is triggered for each grain playbuf = PlayBuf .ar(1, soundBuf, rate, env, pos * BufFrames .ir(soundBuf), 1); dUgen = Dwhite (0, 1); // multichannel trigger used to poll values from drate ugen bpFreq = Demand .ar(env, 0, dUgen).linlin(0, 1, ...
-
... is triggered for each grain playbuf = PlayBuf.ar(1, soundBuf, rate, env, pos * BufFrames.ir(soundBuf), 1); dUgen = Dwhite(0, 1); // multichannel trigger used to poll values from drate ugen bpFreq = Demand.ar(env, 0, dUgen).linlin(0, 1, bpL ...