如何检测声音从麦克风中的.NET [英] How to detect sound from microphone in .net

查看:156
本文介绍了如何检测声音从麦克风中的.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在有code创建摄像头,它位于自由空间和automajically向上或向下移动取决于我通过pressing的键盘上的按键设置一个标志。的我希望能够让这个,如果声音的麦克风检测(超过一定的阈值,因此它不会只是拾取噪声),则标志被设置为true。如果声音停止,(低于阈值)的标志为假,并且移动将停止。的我所有的组件,除了从麦克风检测声音触发事件。

I currently have code to create webcam that sits in free space and automajically moves up or down depending on a flag that I set by pressing a key on the keyboard. I want to be able to make it so that if sound is detected on the microphone (above a certain threshold so it doesn't just pick up noise) then the flag gets set to true. If the sound stops, (falls below threshold) the flag will go false and the moving will stop. I have all the components except for detecting sound from microphone and triggering an event.

你们可以提供任何帮助将大大AP preciated!

Any help you guys can provide would be greatly appreciated!

谢谢!

推荐答案

请从的 http://alvas.net/alvas.audio,tips.aspx#tip73 例如

这篇关于如何检测声音从麦克风中的.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆