获取声音的样品从立体声混音在Windows立体声、样品、混音、声音

2023-09-06 06:13:44 作者:知南茶温暖

有没有在Windows的方式使用C#来记录立体声混音的样本?

Is there a way in Windows using C# to record a sample of the stereo mix?

在换句话说,记录所有的ping,蜂鸣声和音乐被通过任何应用程序播放?我看了一下 n音讯,以记录麦克风,因为它的来源,但我可以' W图如何在Windows的立体声混音哪一点呢?

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?

或者,如果有谁知道如何从一个特定的应用目标和录制声音,任何指针?对于这个,我只关注Vista或Windows 7,同时作为上述操作系统支持单独混合应用 - 所以我不知道是否有一种方法来打入了

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.

我看着WINMM和COREDLL过,但我有点失去了。

I've looked at WINMM and COREDLL too, but I'm a bit lost.

推荐答案

我觉得首先你必须激活在控制面板中的立体声混音设备,那么你应该能够从它来记录。检查此MSDN主题:如何从波或立体声混音在Vista中。录制

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.