-
... Noise1 .kr(1, 0.3, 0.6) + 200, 0, 0.1) }; a.source = { SinOsc .ar(a.ar * 6000 * MouseX .kr(0, 2) + [100, 104], 0, 0.1) }; // fadeTime a.fadeTime = 2.0; a.source = { SinOsc .ar([390, 286] * ExpRand (1, 3), 0, 0.2) }; // adding nodes a.add({ ...
-
... , \freq .kr(6000, 2), \rq .kr(0.2) ) * 10 }).play; ); Ndef ( \a , { SinOsc .ar( MouseX .kr(300, 1000, 1) * [1, 1.2], \phase .ar([0, 0]) * 0.2) }); Ndef ( \b , { LFDNoise3 .ar( MouseY .kr(3, 1000, 1) * [1, 1.2]) }); Ndef ( \c , { LFTri .ar( ...
-
... BufRateScale.kr(d), loop: 1); chain = FFT (b, sig); onsets = Onsets .kr(chain, MouseX .kr(0,1), \rcomplex ); // You'll hear percussive "ticks" whenever an onset is detected pips = WhiteNoise .ar( EnvGen .kr( Env .perc(0.001, 0.1, 0.2), ons ...
-
... inOsc .ar([400, 437] * 0.9, 0, 0.2) * ~x.kr(2) }; ~x = { LFPulse .kr([1, 1.3] * MouseX .kr(1, 30, 1)) }; ~out = { SinOsc .ar([400, 437] * Lag .kr(0.1 + ~x, 0.3), 0, 0.2) * ~x }; p.fadeTime = 5; ~out = { SinOsc .ar([400, 437] * 1.1, 0, 0.2) ...
-
... le = Scale .choose.postln; SinOsc .ar( ( DegreeToKey .kr( scale.as( LocalBuf ), MouseX .kr(0,15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ) + LFNoise1 .kr([3,3], 0.04) // add some low freq st ...
-
... 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 ...
-
... ringtimes) i, // input freq, // scale to this frequency 0, // frequency offset MouseX .kr(0.2, 3) // scale decay times ); Out .ar(out, Pan2 .ar(z*e, pan)); }).send(s); r = Routine { var sustain = 8, transition = 3; var mode = #[0, 2, 4, 5, ...
-
... EnvGen .kr( Env ([6000, 700, 100], [1, 1], [ 'exp' , 'lin' ]).circle(1).postcs, MouseX .kr > 0.5) ) * 0.1 + Impulse .ar(1) }.play; ) test(releaseTime) Test the envelope on the default Server with a SinOsc . releaseTime - If this is a sustai ...