iPhone SDK:如何录音并抑制环境噪音?
谁能给我指出正确的方向,告诉我如何在使用 iPhone SDK Core Audio 录制某人讲话时最大限度地减少环境噪音?我猜想消除任何高于和低于人类声域的频率的带通滤波器可能会起作用。我不知道如何在 SDK 中的音频上实现带滤波器。最佳解决方案是在将流写入内存/磁盘之前消除流中的噪声。
Can anyone point me in the right direction on how I would minimize ambient noise while recording someone speaking using the iPhone SDK Core Audio? I'm guessing a band-pass filter that eliminates any frequencies above and below the human vocal range might work. I have no idea how I would implement band filters on audio in the SDK though. The optimum solution would be one that eliminates the noise from the stream before it is written to memory/disk.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要实现一个自适应过滤器和一个语音活动检测器。在没有语音的时期,您将收集环境噪声并使用它来驱动自适应滤波器。
You would need to implement an adaptive filter and a voice activity detector. In periods where there is no speech you would collect ambient noise and use this to drive the adaptive filter.
搜索“频谱减法”,这是一种分析所谓背景噪声样本的技术,然后从常规信号中减去它。是的,你总会得到一些文物。这是一个权衡。
Have a search for "spectral subtraction" which a technique of analyzing a sample of what you're calling background noise, and then subtracting it from the the regular signal. Yes, you will always get some artifacts. It's a tradeoff.