-
... freq = Duty.kr(1/MouseX.kr(1, 40, 1), 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) // reset when mouse button is pressed ( { var a, freq; a = Dreset(Dseries(0, 2, inf), MouseButton.kr); freq = Duty.kr(1/MouseX.kr(1, 40, 1), 0, a) * 30 ...
-
... Def("help-Compander", { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_Compander(chain, MouseX.kr(1, 50), 1.2, 0.25); Out.ar(out ...
-
... re a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(freq) * 0.1 * AmpComp .kr(freq, 300) }.play; ) // ...
-
... rig) .) For every item in the objects array, one synth node is created when you play the process. Where PR(\defPerc) used the ~defs array to choose which synthdef to play, here, the same array chooses which node to trigger. Only one node ca ...
-
... rig) .) For every item in the objects array, one synth node is created when you play the process. Where PR(\defPerc) used the ~defs array to choose which synthdef to play, here, the same array chooses which node to trigger. Only one node ca ...
-
... .ar(in, 50, MouseY .kr(1,50), 8, 0.3); //or freqmult: MouseX.kr(0.5,4) output }.play ) //sum reconstruction channels to simulate effect of straight through ( { var in, fft, output; in= SoundIn .ar(0); output= SMS .ar(in, 50, MouseY .kr(1,50 ...
-
... / Blog: https://mycelialcordsblog.wordpress.com/ (// Original – Inspiration play{ b=LocalBuf(1e5,2).clear; x=BufRd.ar(2,b,Phasor.ar(0,1,0,1e5))*0.6; BufWr.ar(Blip.ar([1,1.01],10)/5+x,b,LFNoise1.ar(0.2)+1*5e4); x } ) (// Glitch ...
-
... Pbind ( \dur , 0.2, \midinote , PIdev (72, 5, -3, 3).trace(prefix: "midi "), ).play; ) p.stop Ex.2) Variable deviations and lookBack ( ~loDev = -6; ~hiDev = 5; ~lookBack = 2; p = Pbind ( \dur , 0.2, \midinote , PIdev (72, 11, Pfunc { ~loDe ...
-
... a two point differentiator. See also: HPZ2 // Compare: { WhiteNoise .ar(0.25) }.play; { HPZ1 .ar( WhiteNoise .ar(0.25)) }.play; // HPZ1 is useful to detect changes in a signal: // see also HPZ2 ( { var changingSignal = LFNoise0 .ar(1000); v ...
-
... ar trig = Dust .kr(10); SinOsc .ar( TExpRand .kr(300.0, 3000.0, trig) ) * 0.1 }.play; ) ( { var trig = Dust .ar(MouseX.kr(1, 8000, 1)); SinOsc .ar( TExpRand .ar(300.0, 3000.0, trig) ) * 0.1 }.play; )