-
... r = [1,9/7,7/5,5/3,9/5,15/7,7/3,25/9,3,27/7,21/5,15/3,27/5,45/7,21/3,75/9,9].as(LocalBuf); lfo = LFBrownNoise1.kr(speed,dev,dist,4,5).poll; index = IndexInBetween.kr(buffer, lfo).round; intv = Index.kr(buffer, index); sig=Sp ...
-
experiments in detecting fast onsets with Amplitude UGens by julianrohrhuber (julian.rohrhuber) Code
... ) * SinOsc.kr(20).range(0, 1) + LFNoise2.ar(4000, 0.02); gate = Onsets.kr(FFT(LocalBuf(1024), sig),threshold:0.2,relaxtime:0.01,floor:0.01, mingap:0.001); trig = Trig1.kr(HPZ1.kr(gate), 0.001); [sig, trig] }.plot(0.1, bounds:Rect(0, ...
-
... ayN.ar(l,1,1/2);LocalOut.ar(l/3);l!2} play{GVerb.ar(Blip.ar({|i|DegreeToKey.kr(LocalBuf.newFrom((0,3..24)),i,i%3+5,1,36).midicps}!50,5,KeyState.kr((0..49))*5e-3).sum!2,100,8)} play{l=LFSaw;l.ar(l.kr(l.kr([1,3],0,4,[5,6]),l.kr(1/[4,8]),l.k ...
-
... Buf, start, stop, trig, phase, stutterDur, d; // Create the buffer rBuf = LocalBuf(s.sampleRate*bufLen, 2).clear; // Record the incoming sound BufWr.ar(sig, rBuf, Phasor.ar(1, BufRateScale.ir(rBuf), 0.0, BufFrames.ir(rBuf))); ...