Compare two wave files I have two .wav audio(stereo) files to be compared. The files may vary in frequency or amplitude or phase shift. How to compute the difference between the wave files in Scilab?  The expected output is that if frequency and amplitude differ between the audio files, the output must return that they are dissimilar.   Phase changes need not be compared.
Short Time Fourier Transform can be used for comparing the frequency and amplitude differences between two audio files. it can be implemented using basic windowing of audio followed by DFT operation over the windowed audio.