从 Windows 中的立体声混音中获取声音样本
Windows 中有没有办法使用 C# 来录制立体声混音的样本?
换句话说,记录通过任何应用程序播放的所有 ping、蜂鸣声和音乐?我看过 NAudio 它将记录麦克风作为其来源,但我无法弄清楚如何将其指向 Windows 的立体声混音?
或者,如果有人知道,有关如何从特定应用程序定位和录制声音的任何指示?为此,我只关心 Vista 或 Windows 7,因为上述两个操作系统分别支持混合应用程序 - 所以我不确定是否有办法利用它。
我也看过WINMM和COREDLL,但我有点迷失。
Is there a way in Windows using C# to record a sample of the stereo mix?
In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix?
Or, if anyone knows, any pointers on how to target and record sound from a specific application? For this I'm only concerned with Vista or Windows 7, as both the aforementioned operating systems support mixing applications separately - so I wasn't sure if there was a way to tap into that.
I've looked at WINMM and COREDLL too, but I'm a bit lost.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为首先您必须激活控制面板中的立体声混音设备,然后您应该能够从中录制。检查此 msdn 线程:如何在 Vista 中从“Wave”或“Stereo Mix”进行录制。
I think first you have to activate the stereo mix device in the control panel, then you should be able to record from it. Check this msdn thread: How to record from 'Wave' or 'Stereo Mix' in Vista.