I want to count the elapsed samples from the start of an audio signal until a defined threshold is exceeded. The Threshold recognising works fine, but i have a problem with the counter.
I use the [count~] object in combination with the [snapshot~] object, because i want the result displayed in a message.
So here is what i did:
(The bangs and the stop messages are triggered by the threshold patch)
Why doesnt that work? Is there another way to do this?