Linux 上的软件声音消除(破坏性干扰)工具?

发布于 2024-10-15 05:27:48 字数 1539 浏览 2 评论 0原文

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

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

发布评论

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

评论(2

与酒说心事 2024-10-22 05:27:48

您想要做的基本上与电话中的回声消除相同。

http://www.voip-info.org/wiki/view/Asterisk +echo+cancellation 是简单的介绍。另请查看 mark 和 mark2 回声消除器的页面以及提到的 TI应用说明

还有这个网站:
http://www.embeddedstar.com/articles/2003/7/article20030720 -1.html
很好地解释了其中的机制。

您必须拦截音乐播放器的输出和麦克风输入,然后通过某种 IPC 将样本传递到 DSP 进程中。 JACK 实际上做到了这一点,但设置(例如 ALSA->JACK 桥,如果您的音乐播放器和/或 Skype 本身不支持 JACK 作为声音接口)确实需要一些技巧。

我猜它可以工作得相当好,但它可能需要相当多的 CPU。特别是 XRUNS(音频缓冲区不足或溢出)可能对您的回声消除器非常不利,即您可能需要实时 Linux 内核补丁。实施也不是小事。此外,音乐播放器中的立体声也会降低取消成功率。

华泰

What you want to do is basically the same as Echo cancellation in telephony.

http://www.voip-info.org/wiki/view/Asterisk+echo+cancellation is simple introduction. Also have a look at the pages for the mark and mark2 echo canceller there and the mentioned TI application note.

Also this site:
http://www.embeddedstar.com/articles/2003/7/article20030720-1.html
explains the mechanics quite well.

You'll have to intercept both the music player's output and the microphone input, and then pass the samples via some sort of IPC into your DSP process. JACK actually does this, but setting things up (e.g. ALSA->JACK bridge, if your music player and/or Skype does not natively support JACK as sound interface) does require some skill.

I guess it could work fairly well, but it probably requires quite some CPU. Especially XRUNS (audio buffer under- or overrun) can be really bad for your echo canceller, i.e. you might need realtime linux kernel patches. Implementation is not trivial, either. Also having stereo sound from your music player will reduce your cancellation success.

HTH

飞烟轻若梦 2024-10-22 05:27:48

一般来说,当谈到噪音消除时,有两个因素(按优先顺序排列):

  1. 硬件 - 具有噪音消除功能的麦克风/耳机或已内置该功能的内部声卡麦克风。

  2. 软件 - 一个很好的例子是 Skype,据我所知 SKype 允许您微调音频质量,但不幸的是,调节部分目前仅存在于 Windows 平台中。在 Linux 中,您可以在“首选项”>“混音器级别”中选择“允许 Skype 自动调整我的混音器级别”复选框选项。声音设备。

我的理解是,当涉及到噪音消除时,你必须处理声卡驱动程序编程,目前有一些噪音被记录在未来的 Ubuntu 软件版本中,这些噪音带有上述功能,有 这里提到了。

Generally when it comes to noise cancellation, it is due to 2 things in precedence order:

  1. Hardware - either a MIC/headphone with noise cancellation feature or the internal sound card MIC that already built in that feature.

  2. Software - a good example is Skype, AFAIK SKype allow you to fine tuning audio quality but unfortunately the tuning part so far only existed in Windows platform. Where in Linux, you can choose the option of "Allow Skype To Automatcally Adjust My Mixer Levels" checkbox at Preference > Sound Devices.

My understanding is when it come to noise cancellation, you have to deal with the sound car driver programming, currently there is couple of noises noted into future Ubuntu software release that carry the said feature, there is here mentioned.

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