-
... 2, 3.2, 5, 7, 8, 10]; //____ ( ~out = { SinOsc .ar( DegreeToKey .kr(q.b[ \x ], MouseX .kr(0, 15), 12, 1, 72).midicps * LFNoise1 .kr([4,4], 0.01, 0.5) ) * 0.1 ! 2 }; ) //____ ( ~out = { var index = Duty .kr(0.16, 0, Dbufrd (q.b[ \z ], Dseri ...
-
... pitchHi = 80, pitchres=1.0; var osc, freq, env, envgate, pitch, amp; amp = MouseX.kr(-40, 10).dbamp; pitch = MouseY.kr(minval:pitchHi, maxval:pitchLo, lag:0.0001).round(pitchres); envgate = MouseButton.kr(lag:0.0001); env = EnvGe ...
-
... ate = 1, amp = 1, envbuf; var pan, env; // use mouse x to control panning pan = MouseX .kr(-1, 1); env = EnvGen .kr( Env ([0, 1, 0], [1, 1], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, GrainIn .ar(2, Impulse .kr(32), 1, Pin ...
-
... uency { SinOsc.ar( Amplitude.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 ...
-
... ); //roughly the same //--audio examples a= {SinOsc.ar(RedOnePole.ar(LFPulse.ar(MouseX.kr(1, 50, 1)), MouseY.kr(0.975, 1)).linexp(0, 1, 300, 3000), 0, 0.2)!2}.play a.free ⧉ ✔ helpfile source: /tmp/scquark_hs/redSys/HelpSource/Classes/RedOne ...
-
... ar val = MouseY .kr(1000, 200, 1); // cursor y pos controls frequency var pos = MouseX .kr(0, BufFrames .kr(b) - 1); // cursor x position controls buffer pos var write = MouseButton .kr; // button controls write action Demand .kr(write, 0, ...
-
... bject Respond to the state of a key Source: MacUGens.sc See also: MouseButton , MouseX , MouseY Description Respond to the state of a key. NOTE: Note that this UGen does not prevent normal typing. It therefore may be helpful to select a GUI ...
-
... Ndef(\x, { var dirt = InBus.ar(~bus, 2); RLPF.ar(dirt, MouseY.kr(30, 20000, 1), MouseX.kr(0.01, 1, 1)) }).play; ) // ... and so on. // make a side chain controlled by second orbit, affecting the first ( Ndef(\x, { var control = InBus.ar(~di ...
-
... ay.ar(Impulse.ar(2, 0.5, 0.25))), MouseY.kr(0, pi), // center position of image MouseX.kr(0, pi) // width ); Out.ar(0, B2Ster.ar(w, x, y)) }).add; s.sendMsg(\s_new, \testster, a=s.nextNodeID, 0, 1); s.sendMsg(\n_free, a); ⧉ ✔ helpfile sourc ...
-
... ay1+delay2)/SampleRate.ir,0.0]), Impulse.kr(MouseY.kr(1,4))); TwoTube.ar(source,MouseX.kr(-1,1),0.99,delay1,delay2); }.play ) ( SynthDef(\twotube,{arg delay1=100, delay2=50, k=0.0, loss=0.999, dur=0.5, pan=0.0; var source; //k from -1 to 1 ...