-
... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = BPF.ar(snd, ffreq, rq); snd = CombC.ar(snd, maxdelaytime: 2, delaytime: delay, ...
-
... fft2 ) * 1; normal = IFFT.ar( fft1 ) * 1; sig = XFade2.ar( normal, conv, noise.linlin(0,1,-1,1) ); UOut.ar( 0, sig * amp ); }) .setSpec( \hold, BoolSpec(false) ) .setSpec( \fftSize, ListSpec([512,1024,2048,4096]), \init) .category_( \effec ...
-
... fft2 ) * 1; normal = IFFT.ar( fft1 ) * 1; sig = XFade2.ar( normal, conv, noise.linlin(0,1,-1,1) ); UOut.ar( 0, sig * amp ); }) .setSpec( \hold, BoolSpec(false) ) .setSpec( \fftSize, ListSpec([512,1024,2048,4096]), \init) .category_( \effec ...
-
... )); Pen.fillColor= Color.white; ~ibva.data.do{|val, y| Pen.fillRect(Rect(x, val.linlin(0, 1023, 0, chanHeight)+(y*chanHeight), 1, 1)); }; frameCount= frameCount+1; }; ~ibva= IBVA("/dev/tty.BlueVAS_H-Data", {}, 60, 0.3); //replace IBVA with ...
-
... Val.max(0); mouse= this.prCursor; if(warp==0 or:{warp==\linear}, { inval= mouse.linlin(0, this.prBounds, minVal, maxVal).yield; }, { if(warp==1 or:{warp==\exponential}, { inval= mouse.linexp(0, this.prBounds, minVal, maxVal).yield; }, { (th ...
-
... t)); if(key.isClicked, { velPoint= Point(whiteKeySize.width*0.5+x, key.velocity.linlin(0, 127, 5, whiteKeySize.height-5)); Pen.fillColor= Color.grey(0.75, 0.75); }, { Pen.fillColor= Color.white; }); Pen.addRect(key.rect); Pen.fillStroke; if ...
-
... eviation| // greyCenter >= 0 and <= 1, deviation > 0 and <= 1 var a = deviation.linlin(0, 1, greyCenter!3, [this.red, this.green, this.blue]) ++ [this.alpha]; ^Color(*a); } miSC_dim { |ctrButtonGreyCenter, ctrButtonGreyDev| ^this.miSC_iplTo ...
-
... newcenter = newcenter.translate(center); Pen.strokeColor_(Color.gray(i.linlin(0, input.size, 0.7, 0.5), 0.8)); Pen.addArc(center, sine.amp * ampscl, 0, 2pi); }); Pen.stroke; //draw radii center = nil; Pen.width ...
-
... ); if(level>=(1-(env.density)), { ( instrument: \hh, amp: level, release: level.linlin(0, 1.0, 0.0, 0.04), ffreq: 1000 + (exprand(1000, 6000) * level), ).play; }); (0.125).wait; }); }).clock_(t); Tdef(\k, {|env| inf.do({|i| var level = ScGr ...
-
... erver \freq, i.linexp(0, numNotes, 500, 5000).rand, // mapping frequency \az, i.linlin(0,numNotes, -pi*1.5 , pi*1.5).mod(pi), // mapping azimuth \el, i.linlin(0,numNotes, -pi, pi), // mapping elevation \dur, i.linexp(0.0, numNotes, 100, 800 ...