I have this two wavs. Same audible audio differente data.
The audios are phone operator messages, so they are always the same.
Using this formula I found here i get how similar they are:
double Data1 = GetMyWav1InDoubles(); double Data2 = GetMyWav2InDoubles(); double Mx = Data1.Average(); double My = Data2.Average(); double Denominator1 = Math.Sqrt(Data1.Sum(x => (x - Mx) * (x - Mx))); double Denominator2 = Math.Sqrt(Data2.Sum(y => (y - My) * (y - My))); double MaximumNormalizedCrossCorrelation = maxValue / (Denominator1 * Denominator2);
The MaximumNormalizedCrossCorrelation value es 56% similar which is low, considering they sound the same...
I have read I must do FFT and then compare! but I'm lost, I'm using:
After getting the real part of the result I got this graphs
So, how can i get a similarity percentage?
I read this: src: https://lstsal.wordpress.com/2015/02/28/comparing-two-audio-files/