[Pd] Clip detection

Chuckk Hubbard badmuthahubbard at gmail.com
Wed May 24 18:22:23 CEST 2006


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 at sideshowmedia.ca> wrote:
> Hi Chuckk
>
> Would this work?
>
> [env~]
> |
> [> 100]
> |
>
> cheers
> dafydd
>
> On 5/24/06, Chuckk Hubbard <badmuthahubbard at gmail.com> wrote:
> > This might be a beginner question- is there an object to allow clip detection?
> > 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 -> http://lists.puredata.info/listinfo/pd-list
> >
>
>
> --
> www.sideshowmedia.ca
>


-- 
"Far and away the best prize that life has to offer is the chance to
work hard at work worth doing."
-Theodore Roosevelt




More information about the Pd-list mailing list