This project has moved. For the latest updates, please go here.

Count the times audio level rises above a level

Jul 3, 2013 at 5:50 PM
Hi, I'm pretty new to this so I'll try to explain as best I can.
I want to count the number of times the audio level goes above a certain level. I have found/created some code which can detect if the level has gone above a certain threshold, but can't figure out how to count the number of times it has risen above that threshold reliably. the sound/noise is being created by a switch which is connected to the microphone, every time it switches a noise is created by the switching. Do I need to use some sort of filtering?
Steve.
Coordinator
Jul 26, 2013 at 1:06 PM
I'd suggest looking at noise gate algorithms, as you could then count the number of times the gate opens and shuts