-
... | LFNoise2 .kr( rrand(10, 20), 200, i * 100 + 400) } ! 10); SplayAz .ar(4, src, MouseY.kr(1, 0), 0.2, center: MouseX.kr(-1, 1)); }.scope; ) // test for correct behavior: // only on chan 0 { SplayAz .ar(4, SinOsc.ar * 0.2 , orientation: 0) } ...
-
... s = [800, 1071, 1153, 1723] * MouseX .kr(0.5, 2, 1); ringtimes = [1, 1, 1, 1] * MouseY .kr(0.1, 10, 1); DynKlank .ar(`[freqs, nil , ringtimes ], Impulse .ar(2, 0, 0.1)) }.play; ) ( // set them from outside later: SynthDef ( 'help-dynKlank' ...
-
... n; Duty .ar( MouseX .kr(1, 125, 1) * SampleDur .ir * [1, 1.02], 0, Dswitch1 (a, MouseY .kr(0, n-1)) ) }.play; ) // single sample feedback: a lin cong algorithm ( b = Buffer .alloc(s, 1); { var x, y, rate, a, c, m; rate = MouseX .kr(100, Sam ...
-
... ulty, rate, trig, n = 20; rate = LFNoise1 .kr(0.3).exprange(1, 5); difficulty = MouseY .kr(0, 1); trig = Impulse .kr(rate); source1 = { |i| var t = CoinGate .kr(1 - difficulty, trig); SinOsc .ar( TExpRand .kr(300, 1000, t) * (i + 1)) * TRan ...
-
... TDuty .ar( MouseX .kr(1, 2048, 1) * SampleDur .ir * [1, 1.02], 0, Dswitch1 (a, MouseY .kr(0, n-1)) ); Ringz .ar(trig, 1000, 0.01) }.play; ) // single impulses ( SynthDef ( "delta_demand" , { arg amp=0.5, out; OffsetOut .ar(out, TDuty .ar( ...
-
... freq = BufRd .kr(1, 10, index, 1, 1); freq = Lag2 .kr(freq) + [0,0.3]; ffreq = MouseY .kr(80,1600,1) * (env * 4 + 2); out = Mix .ar( LFPulse .ar(freq * [1, 3/2, 2], 0, 0.3)); out = RLPF .ar(out, ffreq, 0.3, env); out = RLPF .ar(out, ffreq, ...
-
... SynthDef ( \help_PlayBuf , { arg 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, ...
-
... ; //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 (b, in); key= KeyTrack .kr(fft); key.poll; Out .ar(0, Pan2 .ar(in)); } ...
-
... 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 ...
-
... 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 interface. Waco ...