-
... 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; ) ...
-
PMouseY UGenPatterns quark library superclass: Pattern based on MouseY NOTE: mac osx only, lag is not implemented only osx, and only sc3.4 or sc3.5 in 32bit mode (i.e. something is broken under 64bit sc3.5) PMouseY(minval, maxval, warp, lag ...
-
... in = FFT ( LocalBuf (2048), in); chain = PV_RectComb (chain, MouseX .kr(0, 32), MouseY .kr, 0.2); IFFT (chain).dup; }.play; )
-
... cond) s.waitForBoot { synth = { var trig = Impulse.kr(50); var mouse = Latch.kr(MouseY.kr(0, 1, 0, 0), trig); SendReply.kr(Changed.kr(mouse), '/mouseY', mouse); Silent.ar(1) }.play; }; // Receive them all, but consume them more slowly. // S ...
-
... tion action_(func) action that is evaluated when an update happens see also: GetMouseY MouseY , MouseX // example s.boot; ( a = GetMouseX (20, 40); b = GetMouseY (300, 400); fork { loop { 0.1.wait; [a.value, b.value].postln } } )
-
... 4*EnvGen.ar(Env([1,1,0],[(delay1+delay2)/SampleRate.ir,0.0]),); //Impulse.kr(MouseY.kr(1,4)));); source = Dust.ar(5); shift = TwoTube.ar(source,1,0.99,delay1,delay2); //FreqShift.ar(shift, 400); PitchShift.ar(shift, pitchRatio: ...
-
... 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, ...
-
... allocRead, 10, "sounds/a11wlk01.wav"); ( { var b = 10, trate, dur, clk; trate = MouseY.kr(2,200,1); dur = 4 / trate; clk = Dust.kr(trate); TGrains2.ar(2, clk, 10, 1.0, LFNoise2.kr(0.5).range(0, BufDur.kr(b)), dur, 0, TRand.kr(0.1, 0.2, clk) ...
-
... r.local; Server.default = s; s.boot; ) // see scope, MouseX controls foldRange, MouseY smoothAmount x = { SmoothFoldQ.ar(SinOsc.ar(90), -0.1, 0.1, MouseX.kr(0.2, 0.8), MouseY.kr(0, 1)) }.scope x.release ⧉ ✔ helpfile source: /tmp/scquark_hs/ ...