You must compare the waveforms, amplitude and phase spectra.
For analyze the spectrogram, play a time-frequency selection of an audio file, compare waveforms and spectrograms, etc...
It's really a lot of work.
Here is a source code in C/C++
ATTENTION! This is a mirror of the following GitLab project: - gillesdegottex/dfasma
github.com
Good luck