Hi dafydd. The problem is that env~ never has a window size of 1, and my experiments showed that even set to [env~ 2], it missed a whole bunch of out-of-range samples in a big clump. This is what I came up with:
[block~ 1]
[avg~] (zexy object) | [> 1]
I have a feeling this will be pretty hard on CPU, but maybe not as it isn't doing much computation with the data.
-Chuckk
On 5/24/06, dafydd hughes dafydd@sideshowmedia.ca wrote:
Chuckk Hubbard wrote:
if you want to use zexy you can also use
[abs~] | [>~ 1] | [avg~]
everytime the signal exceeds +-1 the avg-value will be non-zero
also, the [prvu~] from iemlib counts the number of out-of-range samples, so you can get the info from there quite directly
mfg.asdr. IOhannes
Awesome. Thanks IOhannes.
On 5/24/06, IOhannes m zmoelnig zmoelnig@iem.at wrote: