通过用麦克风录制播放声音来测量扬声器音量
我想通过播放声音并同时在本地麦克风上收听来测量系统的扬声器音量。这是针对特定应用的。准确记录的声音并不重要,重要的是区分播放声音之前和播放时记录的麦克风音量。
这个想法是在扬声器关闭或声音太低时警告用户。如何在播放声音时录制声音并确定音量差异?有没有托管库可以做到这一点?
更新:发现相关的好问题。
I want to measure a system's speaker volume by playing a sound and listening for it on a local microphone at the same time. This is for a specific application. The exact recorded sound is not as important as differentiating between the microphone volume recorded before the sound is played and while it is playing.
The idea is to warn the user if speakers are turned off or too low. How can I record a sound while playing it and determine a difference in volume? Are there are any managed libraries to do this?
Update: Found a good related question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
采取这个:
http://windowsmedianet.sourceforge.net/
并使用waveIn托管包装器。
http://msdn.microsoft.com/en-us/ library/ms712636(VS.85).aspx
当然,你需要在那里进行一些校准......
Take this:
http://windowsmedianet.sourceforge.net/
and use waveIn managed wrapper.
http://msdn.microsoft.com/en-us/library/ms712636(VS.85).aspx
Of course, you'll need some calibration there...