-
... /////////////////////////////////////////////////////////////////// // Move the mouse to vary the threshold ( x = { var sig, chain, onsets, pips; // A simple generative signal sig = LPF.ar(Pulse.ar(TIRand.kr(63, 75, Impulse.kr(2)).midicps), ...
-
... lace with other pitches you want move = 0, window, slider; window = Window.new("Mouse Transport", Rect(5, 100, 500, 50)); slider = Slider.new(window, Rect(5, 5, 490, 20)) .action_({ |view| move = (view.value * 4 - 2).round; }) .value_(0.5); ...
-
... tion, meaning the direction in which the handle moves and extends. Dragging the mouse pointer on either end of the range moves the end by itself. Dragging in the middle of the range moves the whole range without changing its size. Class Met ...
-
... 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 ...
-
... ,8,0.4,1,0.5,6,1,7,0,0,0.0882,6,0,7,0,0,0.0882,9,4]; d.sendCollection(c); ) ( //mouse control of path extent { var scan2d, wt; scan2d= VMScan2D.ar(d.bufnum); WaveTerrain.ar(b.bufnum,scan2d[0]*MouseX.kr,scan2d[1]*MouseY.kr,100,50)}.play ) // ...
-
... 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 ...
-
... ce methods Examples s.boot; // Default... x = {AY.ar * 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 )) ...
-
... r scale = Scale.choose.postln; SinOsc.ar( ( DegreeToKey.kr( scale.as(LocalBuf), MouseX.kr(0, 15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ) + LFNoise1.kr([3, 3], 0.04) // add some low freq st ...
-
... ard params lead to high level output // reasonable adaption with sine source // mouse left turns source down, but oscillator still keeps frequency // move mouse to right to turn source on again ( x = { var ratio = Demand.ar( Impulse.ar(3), ...
-
... with the random number generation- causes periodicities { Pan2.ar(Gendy2.ar(a: MouseX.kr(0.0, 1.0), c: MouseY.kr(0.0, 1.0))) }.play ( { Pan2.ar( Normalizer.ar( RLPF.ar( RLPF.ar( Gendy2.ar( a: SinOsc.kr(0.4, 0, 0.05, 0.05), c: SinOsc.kr(0.3 ...