It's overkill, but there's a "bonk~" object in pd/extra that might do it. It's optimized for detecting percussive attacks.
My dolist has been telling me to write a threshold~ object for at least 2 years now; I'll plan to get it together for the next release.
cheers Miller
On Sat, Aug 12, 2000 at 05:16:52PM +0200, pix wrote:
is there a way of getting audio signals to trigger control events, that doesnt involve a snapshot?
what i would really like is something like samphold~, that produced control value output instead of signal output...
i dont think a snapshot with a really fast metro connected to it will give me the accuracy/performance that i was looking for.
pix.