C# 中的音频捕获
我有一个 MAYA 44 USB 声卡,想用 C# 连接它。我想从提供的麦克风进行录音并生成数据数组。 我发现了使用笔记本电脑内部声卡时的示例,但当涉及到外部声卡时,它就不太起作用了。 请问有人用C#连接过上述声卡吗?
I have a MAYA 44 USB sound card and would like to interface it with C#. I want to record from the provided microphones and produce a data array.
I have found examples when using the internal sound card from my laptop but when it comes to external it does not quite work.
Has anyone every connected the above sound card with C# please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否看过 DirectSound API(我认为仅限 Windows)。可能会提供您想要的东西。
Have you had a look at the DirectSound API (Windows only though, I think). Might provide what you're after.
关于如何用 C# 录制音频,SO 上已经有多个线程,所以我不会谈论这个。
我发现您的程序有两个可能的原因,它们有不同的解决方案:
On how to record audio with C# in general there are already multiple threads on SO, so I won't talk about that.
I see two possible causes for your program which have different solutions: