如何在C#中制作简单的录音程序
问题描述:
我想完全像如何播放和录制声音 [ ^ ] 。但是在c#。谢谢你的帮助:)
i want exactly a program like "How to play and record sounds[^]". but in c#.thank you for your help :)
答
如果你不想深入挖掘API,你可以使用 NAudio [ ^ ]。以下是您想要的演示: https://voicerecorder.codeplex.com/ [ ^ ]
If you don't want to dig deeper in the API, you can use NAudio[^]. Here is a demonstration of what you want: https://voicerecorder.codeplex.com/[^]
您已经回答了问题...为什么不关注您的链接?
WWW和CP都有很多例子。我可以建议的是:带声音激活的实用录音机 [ ^ ]
You allready answered your question... why do you not following your link?
There are a lot of examples in WWW and also at CP. One I can suggest is:Practical Sound Recorder with Sound Activation[^]
我建议使用CSCore而不是NAudio。我使用了NAudio一段时间,使用它时遇到了很多问题。
你可以在github上找到它: [ ^ ]
这是一个录音样本(使用CSCore,包括图表可视化):
[ ^ ]
祝你好运 - 建行
I would recomend using CSCore rather than NAudio. I used NAudio for a while, I got many issues when using it.
You can find it on github: [^]
Here's a sample of audio recording (using CSCore including graph visualization):
[^]
Good Luck - CCB