如何玩在线(麦克风),一个声音文件?在线、麦克风、声音文件

2023-09-04 04:35:38 作者:深拥意中人

这标题可能有些可笑,但我有问题。我的 服务捕获线路输入 的,并保存在文件系统中的声音文件(该服务并没有被我发展,我必须使用那)。

所以我想写程序来选择声音文件(* .WAV,* .MP3或等),然后是声音文件,将 的线路输入播放(麦克风)录制为用户语音 的。

  

问:的那么,如何在C#?任何意见?   谢谢

解决方案

您需要使用虚拟音频设备驱动程序(像这样的例如),这将让你玩音频的输出设备,并将其显示为输入设备到另一个应用程序。另外,只使用一个物理电缆输出连接到输入端(注意不要造成反馈)。

新买的麦克风没有声音怎么办

That title may be seem Ridiculous but I Have problem. I have Service capture line-in and, save file on system as sound file (that service didn't develop by me, and I must use that).

So I want to write program to select sound file (*.wav, *.mp3 or etc), and then that sound file, will be play on Line-in (Microphone) to record as user speech.

Q: So How Do this In C#? Any Advise? Thanks

解决方案

You need to use a virtual audio device driver (like this for example), which will allow you to play audio to that output device and it to appear as an input device to another application. Alternatively, just use a physical cable to connect an output to an input (taking care not to cause a feedback loop).