How can I Compare 2 Audio Files Programmatically?

后端 未结 7 1671
误落风尘
误落风尘 2020-12-12 17:18

I want to compare 2 audio files programmatically. For example: I have a sound file in my iPhone app, and then I record another one. I want to check if the existing sound mat

7条回答
  •  失恋的感觉
    2020-12-12 18:14

    • Apply bandpass filter to reduce noise
    • Normalize for amplitude
    • Calculate the cross-correlation

    It can be fairly Mhz intensive.

    The DSP details are in the well known text:

    • Digital Signal Processing by Alan V. Oppenheim and Ronald W. Schafer

提交回复
热议问题