Compare the two audio files. sound matching

I want to run a large project and you need to compare two audio files to get% of compliance.

Example:

  • Audio A is the original sound.

  • Audio B is recorded from the microphone. (all the same as in audio A, except for voice)

  • I want to know how close B is to A in percent. (100% = identical)

Does anyone know a way to do this?

Perhaps this may be possible by comparing the spectrum of file A with the spectrum of file B ..

+6
source share
1 answer

I did such things in my course project, but with image files. The thing you would like to explore is Cross-correlation . In which you can measure the similarities between two signals. You can also pre-process the audio files, for example: normalize, apply a low-pass filter to remove noise.

I would suggest Oppenheim Digital Signal Processing to get a deep understanding of signal processing.

But again, these methods are pretty vague until yopu finds out what type of similarity you want to find.

+2
source

All Articles