audio player skip track by clapping
I'm looking to script for the functionality:
"skip audio track by clapping"
and am looking for input.
I know I can write a script and I can have the script output the command to skip track. the issue I have is how do I take constant audio samples from the mic and dispose of them without causing a major drain on the system.
I imagine I would need to take small audio samples from the mic and dispose of them as soon as they are deemed useless while ever continuing to take more samples. in the case that a sample compares well to the sound of a clap I would output the skip command to my audio player.
does anyone have useful ideas where to begin please?
Tags for this Thread