-
... (0, 0, 0, 0); //avoid flashings ?? } draw { if ( visible == 1, { bounds.right = MouseX.kr(0, winRect.width, 0); bounds.bottom = MouseY(0, winRect.height, 0); Pen.color = color; //Pen.fillRect( bounds ); /*if (lowGraphicsMode == 0, { Pen.col ...
-
... 0) }); Ndef(\sound, { Blip.ar(Ndef.kr(\lfo2), 30) * 0.2 }).play; Ndef(\lfo2, { [MouseX.kr(10, 300, 1), MouseY.kr(10, 300, 1)] }); ⧉ ✔ setting and mapping parameters Ndef(\sound, { |freq = 56, numHarm = 10| Blip.ar(freq, numHarm, 30) * 0.2 } ...
-
... 1.new(8,4.0,2,3,0.5,3,1.0)); pulse= SynthDef(\pulse, { var rate, impulse; rate= MouseX.kr(2,3); impulse= Impulse.kr(rate); SendTrig.kr(impulse, 100, rate); Out.ar(0,Decay.kr(impulse,0.1)*SinOsc.ar(440,0,0.5)) }).play; bbcut.play(clock); ) ( ...
-
... play{ x = Interpl.newPairs([0,60, 1,63, 2,65, 3,66, 4,67, 5,70, 6,72], 20); i = MouseX.kr(0, 12); // i = LFTri.kr( 1, 3, 3); SinOsc.ar( x.wrapkr(i).midicps, 0, 0.5) } */ ^{ this.at( x.poll ) }.kr(lag) } wrapkr { arg x, lag=0; ^{ this.wrapAt ...
-
... as // 'withOutScale' defaults to true ( x = { var s = 10, r = 30, b = 3, tMul = MouseX .kr(50, 150, 1).poll, sig; sig = Fb1_ODE .ar( \Lorenz , [s, r, b], tMul); sig[0..1] }.play; ) x.release // WARNING: it's not recommended to set 'withOutS ...
-
... h SC to have a partial access to HID devices (only game devices and no output). MouseX, MouseY, MouseButton and KeyState Should work as is on different platforms. WiiMote Has been implemented for both OSX and Linux and have the same interfa ...
-
... edback, 2.1); // as settings, any correct synth setting can be used: Ndef(\x, { MouseX.kr(0.1, 10, 1) }); t.set(\b, \modrate, Ndef(\x)); ⧉ ✔ NOTE: when the value is a function, it is called for each synth, and controls are passed in as a di ...
-
... as // 'withOutScale' defaults to true ( x = { var s = 10, r = 30, b = 3, tMul = MouseX.kr(50, 150, 1).poll, sig; sig = Fb1_ODE.ar(\Lorenz, [s, r, b], tMul); sig[0..1] }.play; ) x.release // WARNING: it's not recommended to set 'withOutScale ...
-
... level output // Lorenz as controller ( x = { var s = 10, r = 30, b = 3, tMul = MouseX.kr(0.1, 50), sig; sig = Fb1_Lorenz.kr(s, r, b, tMul, withScaling: false, leakDC: false ).tanh.linlin(-1, 1, 100, LFDNoise3.kr(0.3).range(700, 1000)); Sin ...
-
... OffsetOut.ar(0, // Pan2.ar( // DynKlank.ar(`data, // input: trig, // freqscale: MouseX.kr(0.5, 2, 1), // freqoffset: MouseY.kr(1000, 10, 1), // decayscale: MouseButton.kr(1, 1.5)) * env, // pan) // ); // }).store; // ("gamelan synthdef " ++ ...