-
... .0; ^( SawDPW.perform(rate, freq, 0) - SawDPW.perform(rate, freq, (width+width).wrap(-1, 1)) ).madd(mul, add); } }
-
s.quit s.boot // Compare various simple nonlinear functions (clip, wrap..) and // their oversampled versions. // Sweep the input sinewave with the mouse and listen for the aliasing { Clipper4.ar(SinOsc.ar(MouseX.kr(200, 5000), 0, 2), -0.2, ...
-
... /pos = (pos + 1) % length; // odd loop lengths don't work!!! //pos = ((pos + 1).wrap(regionStart, regionStart+regionLength-1)) % phrase.size; pos = (pos + 1) % phrase.size; counter = counter + 1; if(counter >= regionLength, { counter = 0; p ...
-
... 2pi); ^Array.fill( n, { arg i; Spkr.newt( Polar( distance, (pi2 * i/n + (pi/n)).wrap(0,2pi) ) ) }) } } Reflections { *ar { arg pointsource, rooml, roomw, absorbtion=0.9, directivity ... spkrs; var sig, sigloc, spoint, rpoints, phi; sig = po ...
-
... r transforms: ATK transform UGens operating at .kr clicked when angle arguments wrap. * Fix for FoaPsychoShelf signal passing * Fix for shelfK 3D, AtkMatrix initPeri: was assigning shelfK for the psycho acoustic shelf filter to be the value ...