[PD] [threshold~]

Miller Puckette mpuckett at man104-1.ucsd.edu
Fri Jan 31 17:45:38 CET 2003

Hi Alex,

Threshold~ can have a delay up to the sample blocksize (64), since "control"
operations in Pd alternate with 64-sample DSP blocks.  So threshold~ isn't
an accurate way to detect peaks.  (Mostly I use it to watch envelope follower
outputs and/or the phase of a sampler to keep it from going out of range,
etc., for which a 1-1/5 msec delay isn't likely to matter.)

I don't know, but I bet there are already peak and zero-crossing detector
objects out there for Pd...


On Fri, Jan 31, 2003 at 12:09:22PM +0000, Alex from Idoia wrote:
> Hello,
>   I would like some precisions regarding the arguments of that object:
> - how the arguments 1 and 3 (trigger threshold and trigger rest) are 
> expressed ? I guess is not in db ?
> I tried to use -15 0 -15 0 to trigger a bang with a signal over -15db 
> but it does not seem to work that way.
> - If the arguments 2 and 4 are set to 0 that means the bang threshold 
> and the rest threshold can be trigger almost simultaneously ? (I am 
> thinking in a case of picks of signal)
> - what are the right inlets used for then ?
> Thanks
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list

More information about the Pd-list mailing list