Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compare two audio files. sound match [closed]

I want to start a big project and it is required to compare two audio files to get % of match.

Example :

  1. audio A is the original audio.

  2. audo B is recorded from microphone. ( everything is same as in audio A, except for voice )

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

Does anyone know a way how to do this?

Maybe it could be possible by comparing spectrum of file A with the spectrum of file B..

like image 436
John Avatar asked Jan 02 '13 07:01

John


1 Answers

I have done this sort of thing in my undergrad course project but with image files. The thing you would want to look into is Cross-correlation. In which you can measure similarities between two signals. Also you might want to preprocess the audio files ie: normalize, apply some low pass filter to remove noise.

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

But again these techniques are quite vague, until yopu know what type of similarities you want to find.

like image 134
Aamir Abro Avatar answered Oct 02 '22 05:10

Aamir Abro