-
... pluckImpulse SynthDef(\mousePluck, { |out = 0, num = 0, amp = 0.3| var m = MouseY.kr(0, 8); var trig = (num <= m) & (m < (num + 1)) * MouseButton.kr(0, 1, 0); Out.ar(out, PinkNoise.ar * EnvGen.kr(Env.perc(0.01, 0.02), trig) * amp); ...
-
... pos SynthDef(\help_PlayBuf, { |out = 0, bufnum = 0| var trig; trig = Impulse.kr(MouseY.kr(0.5, 200, 1)); Out.ar(out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), trig, MouseX.kr(0, BufFrames.kr(bufnum)), 1) ) }).play(s, [\out, 0, \bufnum, ...
-
... uls = Impulse.kr( rate ); // regular update interval x = MouseX.kr( 0, 5 ); y = MouseY.kr( 0, 3 ); trigxy = (2.55..-0.45).collect{ |yi| (-0.45..4.55).collect{ |xi| InRect.kr( x, y, Rect( xi, yi, 0.9, 0.9 ) ) } }.flatten; itrig = 1 - trigxy; ...
-
... major dom 7 and minor 7; major keys preferred here // in = Mix(SinOsc.ar((60 + (MouseY.kr(0, 11).round(1.0)) + [0, MouseX.kr(3, 4).round(1), 7, 10]).midicps, 0, 0.1)); fft = FFT(LocalBuf(4096), in); // for sampling rates 44100 and 48000 key ...
-
... informative scoping { |in| MoogFF .ar(in, freq: MouseX .kr(10, 10000, 1), gain: MouseY .kr(4,0))}.scopeResponse Instance Methods kill Very important . This must be run when the parent window is closed to avoid problems. It also frees the bu ...
-
... eeVerb.ar(Resonz.ar(Instruction.ar(b.bufnum),MouseX.kr(1000,5000,'exponential'),MouseY.kr(0.01,1.0,'exponential'))),0.0))}.play //discovered sounds ( a=[ 2, 0.98085289001465, 0, 0.0098705891385231, 3, 0.045249921951092, 8, 0.426873087883, 9 ...
-
... )); //change weights to new random values ) {Pan2.ar(GravityGrid2.ar(Impulse.kr(MouseY.kr(1,1000,'exponential')),MouseX.kr(0.1,1,'exponential'),LFNoise0.kr(1,0.8),LFNoise0.kr(1,0.8), b.bufnum),0.0)}.play //lower gravity ( var n; n=rrand(1,2 ...
-
... edata.flat, ~treedata[0].size); ( x = { PlaneTree.kr(~treebuf, [MouseX.kr(0,1), MouseY.kr(0,1)]).poll }.play ) x.free; ⧉ ✔ ------------------------ Data format Each node in the tree is represented by a multichannel frame in a buffer (or in ...
-
... ckImpulse SynthDef(\mousePluck, { |out = 0, num = 0, amp = 0.3| var m = MouseY.kr(0, 8); var trig = (num <= m) & (m < (num + 1)) * MouseButton.kr(0, 1, 0); Out.ar(out, HPF.ar(WhiteNoise.ar, 400) * EnvGen.kr(Env.perc(0.001, 0.0 ...
-
... unds just right but it began to all come together. As I was messing around with MouseY/X code my dog was playing around in my backpack and messed around with my bluetooth mouse. It created this almost apocalyptic feel when I was transitioni ...