-
... * 0.1}.play(s); x.free; // Mouse-controlled tones ( x = { Pan2.ar(AY.ar( tonea: MouseY.kr(10, 3900, 1), toneb: MouseX.kr(10, 3900, 1), control: 3, vola: 14, volb: 14, volc: 0, mul: 0.1 )) }.play; ) x.free; // A random walk in a ZX Spectrum ...
-
... 3, 44)) // absorption law -> 513. ⧉ ✔ ( { var mx = MouseX.kr(-20, 20); var my = MouseY.kr(-20, 20); SinOsc.ar(SinOsc.kr(0.3) * 20 lcm: [mx, my] * 30 + 500) * 0.1 }.play; ) ⧉ ✔ gcd Greatest common divisor. This definition extends the usual d ...
-
... fields, recorded via the Soundfield microphone. The soundfield is controlled by MouseY , which specifies the transform angle argument (90 deg to 0 deg; top to bottom of display). With the mouse at the bottom of the display, the recorded sou ...
-
... p.copy; p.pop; q.push; q.reshaping.postln; // also elastic ~out.play; ~freq = { MouseY.kr(2, 1000, 1) * [1, 1.2] }; p.end; q.end; ⧉ ✔ Writing code . document ( keys , onlyAudibleOutput: false , includeSettings: true ) From extension in /usr ...
-
... be mapped to a multichannel proxy using map : ~c2 = { [MouseX.kr(300, 800, 1), MouseY.kr(300, 800, 1)] }; ~y = { arg freq=#[440, 550]; SinOsc.ar(freq) * SinOsc.ar(freq + 3) * 0.05 }; ~y.map(\freq, ~c2); ⧉ ✔ the parameter context can be exa ...
-
... Noise.ar(MouseX.kr(0, 0.2) * [1, 1]) }; ~y = { Impulse.ar([MouseX.kr(2, 18, 1), MouseY.kr(2, 18, 1)]) }; // stop listening. the proxies run in the background. ~x.stop; ~y.bus; // ~y is playing on a different bus ... ~x.bus; // than ~x. // w ...
-
... ually called 'bufferA'. ( { var inA, chainA, inB, chainB, chain; inA = LFSaw.ar(MouseY.kr(100, 1000, 1), 0, 0.2); inB = Ringz.ar(Impulse.ar(MouseX.kr(1, 100, 1)), 700, 0.5); // make two parallel chains chainA = FFT(LocalBuf(2048), inA); cha ...
-
... ils // angle ---> top = push to plane wave // bottom = omni-directional angle = MouseY.kr(pi/2, 0); // for 'rotate' transform // azimuth -> hard left = back // centre = centre // hard right = back azim = MouseX.kr(pi, -pi); // Encode into o ...
-
... , rules, freq, size; var deletionNumber = MouseX.kr(1, 16).floor; var recycle = MouseY.kr(-60, 60).floor; recycle = recycle + (recycle.abs < 1); // avoid 0. freq = SampleRate.ir; size = 6000; // small max string size. increase for higher co ...
-
... 725); }); ) a={ReplaceOut.ar(0,Resonz.ar(CombN.ar(In.ar(0,2),0.05,0.05,3.60685),MouseY.kr(200,10000),MouseX.kr(0.1,1.0)))}.play(addAction:\addToTail) a.free ⧉ ✔ fills and cutproc swapping Note that due to scheduling limitations (the anticip ...