从输入线路中移除输出声音

发布于 2024-12-29 08:11:53 字数 284 浏览 2 评论 0原文

我有一个从麦克风记录音频并处理它的应用程序。我希望能够在播放音乐或电影声音时执行此任务,而无需拾取音乐或电影声音。由于音乐或电影将在麦克风录制的同一台计算机上播放,因此从理论上讲,我应该能够访问从计算机发出的每一位音频数据。我认为这应该允许我自动从麦克风的输入信号中消除计算机的输出噪音,但我实际上不确定如何去做!我在这里基本上与语言无关,只要我可以通过互操作或 IPC 或其他什么方式从 .Net 可执行文件调用此行为。关于如何实现这一点的任何建议 - 特别是早期部分,例如从声卡获取输出音频信号的表示,以及从麦克风获取输入信号的表示 - 将不胜感激。

I have an application that records audio from a microphone and processes it. I would like to be able to perform this task while I have music playing, or sound from a movie, without picking up the music or movie sound. Since the music or movie would be playing from the same computer that the microphone is recording to, I should - in theory - have access to every bit of audio data as it comes out of the computer. I think that this should allow me to automatically cancel the output noise of the computer from the input signal of the microphone, but I'm not actually sure how to go about doing this! I am mostly language-agnostic here, as long as I can invoke this behavior from a .Net executable via interop or IPC or what have you. Any suggestions on how to accomplish this - especially the early parts, like getting a representation of the output audio signal from the sound card, and getting a representation of the input signal from the microphone - would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘味果▽酱 2025-01-05 08:11:53

您可以查阅有关回声消除的文献。似乎有几本关于这个主题的书。这是一个不平凡的 DSP 编码级别。

You could look into the literature on echo cancellation. There seem to be several books on the subject. It's a non-trivial level of DSP coding.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文