WT_TimeWipe zero wavelet coefficients by time position in window


WT_TimeWipe(buffer, wipe)


Passes particular scales while suppressing (zeroing coefficients) from others


buffer - dwt buffer.

wipe - can range between 0.0 and 1.0. Acts to zert out that proportion of bins at each scale, starting from the leftmost (earliest in time). 



s.boot;




(

{ var in, chain;

in = WhiteNoise.ar(0.2);

chain = DWT(LocalBuf(2048), in);

chain = WT_TimeWipe(chain, MouseX.kr); 

IDWT(chain).dup(2)

}.play;

)




(

var type = 32; //try 0-41


{ var in, chain;

in = SoundIn.ar;

chain = DWT(LocalBuf(512), in, wavelettype:type);

chain = WT_TimeWipe(chain, MouseX.kr); 

IDWT(chain,wavelettype:type).dup(2)

}.play;

)