-
MouseButton: Filter: Description Class methods kr Inherited class methods Instance methods Inherited instance methods Undocumented instance methods signalRange Examples Classes | UGens > User interaction'>User interaction MouseButton : UGen ...
-
... t(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 over: a = {LFTri.ar(100+(1000*Maths2.ar(MouseX.kr, MouseY.kr, 0.2, 1-M ...
-
... t(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 over: a = {LFTri.ar(100+(1000*Maths.ar(MouseX.kr, MouseY.kr, 0.2, 1-Mo ...
-
... 3, 2); //click button to overdub sound a= {RedOverdub.ar(b, SoundIn.ar([0, 1]), MouseButton.kr)}.play; a.free; //setting feedback and rate - click mouse to overdub a= {|fb= 1, rate= 1| RedOverdub.ar(b, SoundIn.ar([0, 1]), MouseButton.kr, fb ...
-
... ffer.alloc(s, s.sampleRate*3, 2); a= {RedTapeRecorder.ar(b, SoundIn.ar([0, 1]), MouseButton.kr>0.5, 1, MouseX.kr>0.5)}.play; a.free; b.free; b= Buffer.alloc(s, s.sampleRate*3, 1); a= {SinOsc.ar(RedTapeRecorder.kr(b, LFNoise1.kr(2, 100, 400) ...
-
... use button reset range a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr, 200, 400, reset:MouseButton.kr).round(25), 0, 0.2)}.play a.free //predefined minimum input range a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr(-10, 10), 200, 400, -5, 5, MouseButton. ...
-
... n this demo, mouse left/right controls the amount of smoothing, // and when the mousebutton is down you hear the "original" // (otherwise you hear the "cleaned" version). d = Buffer.alloc(s, 1024); ( x = { var son, chain, chainorig, chainsm ...
-
... ///////////////////////////////////// // tests // reset test. ( { var a, trig = MouseButton.kr > 0.5; a = Dfsm([[0], Dseq([-2, -3], inf), [1, 7], Dseq([0.1, 0.2], inf), [0, 1], Dseq([900], inf)]); Demand.kr(trig, 0, a); // should end after ...
-
... ouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A.ar(MouseButton.kr(0, 1, 0)) > 0; k = MouseY.kr(0.1, 20, 1); d = MouseX.kr(0.00001, 0.1, 1); outforce = Spring.ar(inforce, k, d); freq = outforce * 400 + 500; // mo ...
-
... y. MouseY MouseY JMouseY MouseY UGen. JMouseY for backward compatiblility only. MouseButton MouseButton JMouseButton MouseButton UGen. JMouseButton for backward compatiblility only. KeyState KeyState JKeyState KeyState UGen. JKeyState for b ...