如何在C#中制作简单的录音程序 [英] How Do I Make A Simple Sound Recording Program In C#
本文介绍了如何在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都有很多例子。我可以建议的是:带声音激活的实用录音机 [< a href =http://www.codeproject.com/Articles/814903/Practical-Sound-Recorder-with-Sound-Activationtarget =_ blanktitle =New Window> ^ ]
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
这篇关于如何在C#中制作简单的录音程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文