[英]How to record live streaming audio | iPhone
I am working on a radio app. 我正在开发一个广播应用程序。 I am recording that live audio stream through AVAudioQueue but problem is it records outer noise as well.
我正在通过AVAudioQueue录制实时音频流,但问题是它也记录了外部噪音。 I want a way to remove that outer noise.
我想要一种消除外部噪音的方法。 I just want to record that stream only.
我只想录制该流。 Please help me.
请帮我。 I am stuck on it.
我被卡住了。
Try to use lowpass/highpass filters to filter the data you get. 尝试使用低通/高通滤波器来过滤您获得的数据。 You can take a look at AccelerometerGraph sample code from Apple, to see how they implement these filters.
您可以查看Apple的AccelerometerGraph示例代码,以了解它们如何实现这些过滤器。 You you adjust filters properly you probably can get rid of some noise.
您正确调整过滤器可能会消除一些噪音。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.