[Pd] Clip detection
IOhannes m zmoelnig
zmoelnig at iem.at
Wed May 24 18:50:57 CEST 2006
Chuckk Hubbard wrote:
> 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]
if you want to use zexy you can also use
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
> I have a feeling this will be pretty hard on CPU, but maybe not as it
> isn't doing much computation with the data.
> On 5/24/06, dafydd hughes <dafydd at sideshowmedia.ca> wrote:
>> Hi Chuckk
>> Would this work?
>> [> 100]
>> On 5/24/06, Chuckk Hubbard <badmuthahubbard at gmail.com> wrote:
>> > This might be a beginner question- is there an object to allow clip
>> > I want to do some batch recording from a tape deck, and I'd like to
>> > set it and go and come back and check whether it clipped...
>> > Thanks.
>> > Chuckk
>> > --
>> > "Far and away the best prize that life has to offer is the chance to
>> > work hard at work worth doing."
>> > -Theodore Roosevelt
>> > _______________________________________________
>> > PD-list at iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
More information about the Pd-list