I need to compare FFT result from audio files, I have 2 FFT result from 2 audio files..
FFT 1 (sample)
-0.16314493488504767 - 0.103707391105263i
0.07863935536550609 - 0.30111206509352917i
0.06753127619272284 + 0.02837438103569126i
FFT 2 (sample)
-0.006953384463464084 + 0.0291883094944081i
-0.09447919915711694 - 0.22676541801892i
-0.23493813662827812 - 0.07765408995141115i
Then I need to calculate the deviation of each real-part point (without imaginer part) from the FFT result then make the result absolute, something like this
-0.16314493488504767 - (-0.006953384463464084)
--> then use Math.abs to get absolute value
then sum all the deviation point, and use Root Mean Square formula to follow with to get the difference value...
where N is my numbeofFFTPoint and the following x is the sum value of my deviation result.
But then, someone told me to use Zero crossing rate formula to get more accurate result
Honestly I don't really understand about Zero Crossing Rate,
what have I tried :
I compare the exact same 2 audio files, then get the deviation and sum result --> 0.0 and of course the Root Mean Square Formula result is 0.0 too.. since there's no difference between the files the it would return 0.0 right ??
question
is it possible just to user Root Mean Square ?? Any advice which formula should I use for this case ?
Thanks :) (sorry 4 bad explaining)