C# 中的拍手声检测
我希望能够检测到拍手声。 对于任何形式的声音识别都很陌生,有什么简单的方法可以做到这一点吗? 如果没有,有什么好的 C# 声音识别/检测资源吗?
我的目标是通过一些基本的基于拍手的控制来实现客户媒体中心的自动化。
I would like to be able to detect a clapping sound. Being pretty new to any form of sound recognition, is there simple any way to do this? If not, any good resources for C# sound recognition/detection?
My goal is to automate a clients media center with some basic clap-based controls.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
过去曾提出过类似的问题:
给定一个音频流,找到门何时关上(声压级计算?)
虽然这个问题不是特定于 C# 的,但它确实有一些可供使用的算法的想法。 (披露:是的,我确实回答了这个问题。)
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.)
我不会关注语言本身,而是关注算法。
声音的哪些特征可以让您将其识别为拍手声? 期间? 强度? 强度随时间的变化?
一旦你有了一个算法,然后决定实现它的最佳方法。
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.
不确定这是否有任何帮助,但仍然:MERL - 声音识别。 或者更好的是,拍手检测,带麦克风。
Not sure whether this will be of any help, but still: MERL - Sound Recognition. Or better yet, Clap detection, with microphone.
这似乎是一个可以使用所谓的主成分分析来解决的问题。 尝试用谷歌搜索一下。 针对著名的鸡尾酒会问题的其他解决方案也可能有所帮助。 但我确信已经有一些图书馆了。
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.
查看 Audio Zone Trigger,售价 25 美元,看起来它完全可以满足您的需求。
Check out Audio Zone Trigger for $25 it looks like it will do exactly what you want.