-
... y hear the first two channels on a stereo setup. ( { #w, x, y, z = BFEncode1.ar(WhiteNoise.ar,MouseX.kr(0, 2pi), 0, MouseY.kr(0.0, 4.0), 0.3); //decode for 4 channels BFDecode1.ar(w, x, y, z, [-0.25pi, 0.25pi, 0.75pi, 1.25pi], 0); }.scope(4 ...
-
... st, {arg gate = 1, amp = 1, envbuf; Out.ar(0, SinGrainB.ar(Impulse.kr(20), 0.2, WhiteNoise.kr.range(440, 880), envbuf, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ) }).add; ) z = Env([0, 1, 0], [1, 1] ...
-
... // Any input should theoretically be OK, white noise is a good choice var son = WhiteNoise.ar; // var son = Impulse.ar; var out = LPF.ar(son, MouseX.kr(100, 10000, 1)); var fft1 = FFT(LocalBuf(b.numFrames), son, wintype: 1); var fft2 = FFT( ...
-
... instance methods Examples s.boot; // Play it with the mouse... x = { MoogFF.ar(WhiteNoise.ar(01.1), MouseY.kr(100, 10000, 1), MouseX.kr(0, 4)) }.play(s); x.free; // Mmmm, throbby ( x = { MoogFF.ar( Pulse.ar([40, 121], [0.3, 0.7]), SinOsc.k ...
-
... p=0.125, freq=100, rotFreq=1, ele=0| // var sig = LFTri.ar(freq)*amp; var sig = WhiteNoise.ar(amp); var azi = LFSaw.kr(rotFreq, mul: pi); sig = HoaEncodeDirection.ar( sig, azi, ele, AtkHoa.refRadius, ~order ); }).play ) // Bypass the decode ...
-
... tempo = BeatTrack2.kr(0, 1, weightingscheme: e.bufnum); bsound = Pan2.ar(LPF.ar(WhiteNoise.ar * (Decay.kr(trackb, 0.05)), 1000), 0.0); hsound = Pan2.ar(BPF.ar(WhiteNoise.ar * (Decay.kr(trackh, 0.05)), 3000, 0.66), -0.5); qsound = Pan2.ar(HP ...
-
... .boot; s.scope(2); SynthDef(\noise, {arg noiseout = 1; var noise, filt; noise = WhiteNoise.ar(MouseX.kr(0, 1)); filt = BPF.ar(noise, LFNoise2.kr(0.2, 440, 880), 0.001); // comment out to compare without balance filt = Balance.ar(filt, Ampli ...
-
... m]); ) ( SynthDef("help-magBelow2", { |out = 0, bufnum = 0| var in, chain; in = WhiteNoise.ar(0.2); chain = FFT(bufnum, in); chain = PV_MagBelow(chain, MouseX.kr(0, 7)); Out.ar(out, 0.5 * IFFT(chain).dup); }).play(s, [\out, 0, \bufnum, b.bu ...
-
... p=0.125, freq=100, rotFreq=1, ele=0| // var sig = LFTri.ar(freq)*amp; var sig = WhiteNoise.ar(amp); var azi = LFSaw.kr(rotFreq, mul: pi); sig = HoaEncodeDirection.ar( sig, azi, ele, AtkHoa.refRadius, ~order ); }).play ) // Bypass the decode ...
-
... .0, 10.0, \linear), // bw 0.5); // mul }.play) z.release; ( z = { BBandPass.ar( WhiteNoise.ar ! 2, MouseX.kr(20, 20000, \exponential), MouseY.kr(0.0, 10.0, \linear), // bw 0.5); // mul }.play) z.release; ⧉ ✔ helpfile source: /usr/local/shar ...