(iphone、objc)如果用户在录制期间点击 iPhone,(fft/其他频谱分析)会出现意外结果
我目前正在使用 FFT/其他频谱分析算法来分析来自 iPhone 的
麦克风。但是,如果用户在录制时点击设备,我会得到意想不到的结果。是否有一个
滤波器可以对原始声音数据实施以消除抽头干扰。
谢谢你,
nonono
编辑:也许与加速度计数据有关
I am currently using FFT / other spectral analysis algorithms in order to analyse sound from
the iphone's
microphone. However, if the user taps the device while recording, I get unexpected results. Is there a
filter I can implement on the raw sound data to remove the tap disturbances.
Thank You,
nonono
edit: perhaps something to do with accelerometer data
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
敲击带有麦克风的物体发出的声音似乎是完全可以预料到的。
如果您对分析预期的敲击声不感兴趣,如果加速度计指示任何运动超过某个微小阈值,您始终可以完全停止分析音频,并在所有加速度停止后一两秒再次开始分析。
如果您需要在不干扰其他音频的情况下点击 UI,则插入耳机插孔的隔离支架上的麦克风可能会有所帮助。
Sound from tapping on something containing a microphone would seem to be completely expected.
If you aren't interested in an analysis of the expected tap sounds, you could always completely stop analyzing audio if the accelerometer indicates any motion above some tiny threshold, and start analyzing again a second or two after all acceleration stops.
If you need to tap on the UI while not interfering with some other audio, a microphone on an isolating stand plugged into the headset jack might help.