-
... interesting variants f = { |out = 0| var sig = Pan2.ar( Klank.ar( `[ Array.rand(30, 50, 10000), Array.rand(30, 0, 1.0), Array.rand(30, 0, 1.0) ], [ LFBrownNoise2.ar( LFDNoise3.kr(base / 4).range(20, 10000), 0.005), ...
-
... ( EnvGen.ar( Env( [0] ++ SinOsc.kr( NamedControl.kr(\in_freq, Array.exprand(i-2,0.1,10)), NamedControl.kr(\in_phase, Array.rand(i-2,0,pi)), NamedControl.kr(\in_mul, Array.rand(i-2,0,1)), NamedControl.kr(\ ...
-
... rFreq, ampEnv, freqs, snd; numVoices = 30; // starting point startFreqs = Array.fill(numVoices, { rrand(10.0, 40.0) }).sort.reverse; // starting with low frequencies deviation1 = startFreqs.collect({|freq| LFNoise2.kr(0.5, freq.linl ...
-
... ction: 2)),0) }).add; ( m=3000; //max index, 5 minutes = 300 when dur=0.1 a=Array.newClear(m);//two arrays to store numbers from the Pisano Periods b=Array.newClear(m); a.put(0,0); a.put(1,1); d=2; //even divisor i=2; //index whi ...
-
controlling arrayed args using pattern ( fork { var size = 3.rrand(10).debug('envelope size'); {|dur=1, amp=0.8, pan = 0| Pan2.ar( SinOsc.ar( EnvGen.ar(Env(\freq_l.kr(400!size), \freq_d.kr( ...
-
... / --> [DC, bin1, bin2, nyquist, 0, 0, 0, nyquist, bin2, bin1] var mirrorExpandArray = { |array, outSize| array.extend(outSize div: 2 + 1, 0).foldExtend(outSize) }; var ifft = { |polar, outSize(size * oversampling)| var halfSize ...
-
... ~main = Bus.audio(s,2); ~a = Routine{ var n,i,a,b; n= 3; ~arrays = Array.new(n); i = 0; n.do{ i=i+1; a = Buffer.alloc(s,512); b = Array.fill(i,{1/i}); a.sine1(b); ~arrays. ...
-
... ! ( Ndef(\waves, { var sig, n=25, ffreq, rq, lfo, amp; ffreq = Array.fill(n, { exprand(100.0, 1500.0) }); rq = Array.fill(n, { rrand(0.8, 1.4) }); lfo = Array.fill(n, { LFNoise2.ar(0.2).range(0.5, 2.0) }); am ...
-
... fsizes, nextmod, numSamples; nextmod = 100; numSamples = 40000 ; /* an array of multiple IRs */ irs = ~numIRs.collect{ arg nth; // nth is here not used, but can be useful to scale decay time. [0] ++ 0.dup(100) ++ Array.fill ...
-
... Draw your waveform! ( b = Buffer.alloc(s, 1024); // buffer, server side a = Array.fill(1024, { 256 }); // array, language side w = Window("Draw your waveform!", Rect(100, 100, 1024, 512)).front; u = UserView(w, w.view.bounds); // f ...