iPhone录音时如何降低背景噪音?
我打算比较两个音频文件。我录制了两个声音并使用互相关对它们进行了比较。因为记录所得相关值时背景噪声的存在始终接近 0.5。如果我从互联网上提供任何记录的波,我就能够获得正确的值。那么如何减少录音时的背景噪音。请指导我。谢谢。
是否有可能减少录制的 .wav 文件中的噪音?
I am planning to compare two audio files. i have recorded two voices and compared them using cross correlation. since the presence on background noise while recording the resulting correlation value is always near 0.5.If i give any recorded waves from internet , i am able to get the correct value. So how can i reduce the background noise while recording.Please guide me .Thanks.
Is there any possibility to reduce noise from the recorded .wav file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
除了简单地关闭录音麦克风之外,这并不是一个在录音时消除背景噪音的好方法。您似乎已经在导出数据,因此与其尝试从源头消除它,不如将其过滤掉,这是有关如何使用 Audacity 消除背景噪音的快速教程
Not really a good way to remove background noise while recording other than simply turning down the recording mic. It seems that you're already exporting the data, so instead of attempting to eliminate it at the source, it'd probably be easier for you filter it out, this is a quick tutorial on how to eliminate background noise using Audacity
尝试使用降噪麦克风和消声室(或非常安静的工作室)。
您还可以尝试过滤掉所有不感兴趣的频段(例如,超出识别或比较所需的人声频谱范围)。
Try using a noise-canceling microphone and an anechoic chamber (or really quiet studio).
You can also try filtering out all frequency bands that are not of interest (e.g. are outside the human vocal spectral range required for recognition or your comparison).
有一种特殊的软件可以消除背景音频噪音。 PC 版 Audacity 可能是最受欢迎的软件之一(顺便说一句,它是开源的)。此外,您还可以使用 Denoise 应用程序完全在 iPhone 上完成此操作。
基本上,录制的音频包含许多单独的声音,其中一些是有害的(例如嗡嗡声的灯、街道噪音、麦克风问题等)。抑制有害声音的一种非常流行的方法是计算有害噪声的频谱并在整个音频持续时间内抑制“有害”频率。在 Audacity 和 去噪 您可以通过选择“仅噪声”片段来实现此目的。该片段中的所有声音都被视为噪音并在整个文件中被抑制。
如果您需要将此功能合并到您的应用程序中,那么您可以查看 Audacity 源代码。如果您需要更多详细信息,请告诉我。
There is a special kind software to remove background audio noises. Audacity for PC might be one of the most popular (it is open source by the way). Also, you could do that entirely on iPhone with the Denoise app.
Basically, recorded audio contains a lof of individual sounds and some of them are harmful (a.e. buzzing lamps, street noises, mic issues, etc.). A very popular approach to suppress harmful sounds is to calculate frequency spectre of harmful noises and supress "harmful" frequencies throughout the whole audio duration. In both, Audacity and Denoise you do that by selecting a "noise only" fragment. All sounds in that fragment are considered to be noises and are suppressed in whole file.
If you need to incorporate this feature into your app then you could have a look at the Audacity sources. Please let me know if you need more details.