Clap sound detection in C#

我怕爱的太早我们不能终老 提交于 2019-11-30 18:30:52
coobird

There was a similar question asked in the past:

Given an audio stream, find when a door slams (sound pressure level calculation?)

Although the question was not specific to C#, it does have some ideas for algorithms to use. (Disclosure: Yes, I did answer that question.)

Not sure whether this will be of any help, but still: MERL - Sound Recognition. Or better yet, Clap detection, with microphone.

I wouldnt focus on the language as such, but on the algorithm.

What characteristics of a sound allow you to identify it as a clap? Duration? Intensity? Variation of intensity over time?

Once you've got an algorithm, then decide the best way to implement it.

It seems like a problem you can solve using a so called Principal Component Analysis. Try to google it. Also other solutions for the famous Cocktail Party Problem may help. But I am sure there are already some libraries out there.

Check out Audio Zone Trigger for $25 it looks like it will do exactly what you want.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!