-
... e tone with the mouse var in, chain, flat, flatdb, flatdbsquish; in = XFade2.ar(WhiteNoise.ar, SinOsc.ar, MouseX.kr(-1, 1)); chain = FFT(LocalBuf(2048), in); Out.ar(0, in * 0.1); flat = SpecFlatness.kr(chain); flatdb = 10 * flat.log; // Con ...
-
... with specific durations. Feeding Ramp with noise is similar to LFNoise1 Ramp.kr(WhiteNoise.kr(1), 0.5) ⧉ ✔ is equal to: LFNoise1.kr(1 / 0.5) ⧉ ✔ For smoothing out control signals, take a look at Lag and VarLag Class Methods Ramp. ar ( in: 0 ...
-
... 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 ...
-
... rel = 0.75, curve = -6; var noise, a, b, c, d, e, f, g, h, i, env, snd; noise = WhiteNoise.ar(1); a = HPF.ar(noise, 62, 1/9); b = HPF.ar(noise, 125, 2/9); c = HPF.ar(noise, 250, 3/9); d = HPF.ar(noise, 500, 4/9); e = HPF.ar(noise, 1000, 5/9 ...
-
... 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 ...
-
... (5, 0.5).range(2, 7)), 0.1, in*MouseButton.kr(0, 1, 0.001) ), WhiteNoise.ar(0.08!2), PinkNoise.ar(0.08!2), BrownNoise.ar(0.08!2), GrayNoise.ar(0.08!2), ClipNoise.ar(0.08!2), Impulse.ar(10!2), Dust.a ...
-
... is in sc3-plugins Ndef(\test, { var snd,freq=50; var noise; noise = WhiteNoise.ar * LFPulse.kr(freq * [0.5,2],0,0.01).range(0,0.3); noise = BPF.ar(noise, LFNoise0.kr([1/5,1/4]).range(1000,8000).lag(1)); noise = Splay.ar(nois ...
-
... 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 ...