-
... reful with your ears for this one! ( { var mx, my; mx= MouseX .kr(220,440); my= MouseY .kr(0.0,1.0); Pan2 .ar( Gendy1 .ar(2,3,1,1,minfreq:mx, maxfreq:8*mx, ampscale:my, durscale:my, initCPs:7, mul:0.3), 0.0)}.play ) //1 CP = random noise ef ...
-
... e. { var in; in = Blip .ar( SinOsc .kr(5,0,20,300), 1000, 0.1); Formlet .ar(in, MouseY .kr(700,2000, 1 ), 0.005, MouseX .kr(0.01,0.2, 1 )); }.play; ) ( // mouse control of frequency and decay time. { var freq; freq = Formlet .kr( Dust .kr(1 ...
-
... t pressed maxval value when the key is pressed lag lag factor see also MouseX , MouseY //example { SinOsc .ar( MouseButton .kr(400, 440, 0.1), 0, 0.1) }.play; { SinOsc .ar( MouseButton .kr(400, 740, 2), 0, 0.1) }.play;
-
... exponential' lag lag factor to dezipper cursor movement. (Default 0.2) see also MouseY , MouseButton //example { SinOsc .ar( MouseX .kr(40, 10000, 1), 0, 0.1) }.play; //same but with a 2sec lag { SinOsc .ar( MouseX .kr(40, 10000, 'exponenti ...
-
... pulse .ar(rate); sr = SampleRate .ir; x = Phasor .ar(trig, rate / sr, 0, 1, [0, MouseY .kr(0, 1)]); SinOsc .ar(x * 500 + 500, 0, 0.2) }.play; ) // use phasor to index into a sound file // allocate a buffer with a sound file b = Buffer .read ...
-
... switch1 see also: Demand // example ( { var a, freq, trig; a = Dswitch1 ([1, 3, MouseY .kr(1, 15), 2, Dwhite (0, 3, 2)], MouseX .kr(0, 4)); trig = Impulse .kr( 3 ); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) ...
-
... in = FFT ( LocalBuf (2048), in); chain = PV_RectComb (chain, MouseX .kr(0, 32), MouseY .kr, 0.2); IFFT (chain).dup; }.play; )
-
... 0.2; }.play; ) ( { var ctl = RLPF .ar( Saw .ar(5, 0.1), MouseX .kr(2, 200, 1), MouseY .kr(0.01, 1, 1)); SinOsc .ar(ctl * 200 + 400) * 0.2; }.play; )
-
... .kr( Blip .ar(3, 20) * LFNoise1 .kr(0.1).range(0, 1), MouseX .kr(0.001, 1, 1), MouseY .kr(0.001, 1, 1), 1200, 400 ), 0, 0.3) }.play; ) // use input amplitude to control Pulse amplitude - use headphones to prevent feedback. { Pulse .ar(90, ...
-
... ons class MouseX MouseX JMouseX UGen. JMouseX for backward compatiblility only. MouseY MouseY JMouseY UGen. JMouseY for backward compatiblility only. MouseButton MouseButton JMouseButton UGen. JMouseButton for backward compatiblility only. ...