WT_FilterScale low or high pass filter by wavelet scale
WT_FilterScale(buffer, wipe)
Passes particular scales while suppressing (zeroing coefficients) from others
buffer - dwt buffer.
wipe - can range between -1 and +1.
if wipe == 0 then there is no effect.
if wipe > 0 then it acts like a high pass filter, clearing scales from the bottom up.
if wipe < 0 then it acts like a low pass filter, clearing scales from the top down.
s.boot;
(
{ var in, chain;
in = WhiteNoise.ar(0.2);
chain = DWT(LocalBuf(2048), in);
chain = WT_FilterScale(chain, MouseX.kr(-1.0,1.0));
IDWT(chain).dup(2)
}.play;
)