-
... ed instance methods Examples // compare 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 * AmpC ...
-
... le, inf) } ! 2, SampleDur.ir * MouseY.kr(1, 3000, 1), 5, // curve interpoaltion MouseX.kr(-0.01, -4) // curve must be negative for fast interpol. ); SinOsc.ar(freq) * 0.1 }.play; ) // gate // mouse x on right side of screen toggles gate ( { ...
-
... Amplitude will be polled, move mouse to change frequency {var x; x = SawDPW.ar(MouseX.kr(50, 2000, 1));Amplitude.ar(x, 0.2, 0.2).poll; x.madd(0.1).dup}.play {var x; x = SawDPW.ar(K2A.ar(MouseX.kr(50, 2000, 1)));Amplitude.ar(x, 0.2, 0.2).po ...
-
... , 20, 10), 0.0, 0.5) }.play; //sawtooth x = { LeakDC.ar(Integrator.ar(BlitB3.ar(MouseX.kr(20,1000,'exponential'), 0.5), 0.99)) }.play; //sawtooth; super-saw, can integrate mix //leaks dealt with one by one so don't accumulate x = {Mix(LeakD ...
-
... its fixed points too quickly {Out.ar(0,Pan2.ar(0.1*Oregonator.ar(Impulse.kr(10),MouseX.kr(0.01,1,'exponential')),0.0))}.play {Out.ar(0,Oregonator.ar(Impulse.kr(100),0.1, 0.1, 0.5, 0.2,initx:0.1, inity:-0.5, initz:0.7))}.plot(0.1) {Out.ar(0, ...
-
... rougher Gendy1 { Pan2.ar(Gendy3.ar(mul: 0.1)) }.play { Pan2.ar(Gendy3.ar(freq: MouseX.kr(220, 880, 'exponential'), durscale: 0.01, ampscale: 0.02, mul: 0.1)) }.play // stochastic waveform distortion- also play me at the same time as the pr ...
-
... 0.3,0.05,5))}.play //play me {Pan2.ar(RLPF.ar(Gendy4.ar(2,3,minfreq:20, maxfreq:MouseX.kr(100,1000), durscale:0.0, initCPs:40), 500,0.3, 0.2), 0.0)}.play //scream! - careful with your ears for this one! ( { var mx, my; mx= MouseX.kr(220,440 ...
-
... he function is 0: {Maths2.ar(0.05, 0.15, 0.8, 0, 1, Impulse.ar(3))}.plot(1) ⧉ ✔ MouseX and MouseY control the rise and fall durations of the function. MouseButton triggers the cycle to end. Lifting the MouseButton trigger the cycle to start ...
-
... ed instance methods Examples // compare 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.3 * AmpC ...
-
... controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A.ar(MouseX.kr > 0.5) > 0; t = TBall.ar(sf, MouseY.kr(0.01, 1.0, 1), 0.01); Pan2.ar(Ringz.ar(t * 10, 1200, 0.1), MouseX.kr(-1, 1)); }.play; ) // mouse x controls ste ...