Posted: 21 Nov 2012, 21:17
I'm trying to create a correlation / phase meter that will show the relationship between L channel and R channel. Basically, it outputs 1 if channels are identical, 0 if there's no correlation and -1 if the channels are completely out of phase. From what I looked on DSP forums, the cross-correlation is either IFFT ( FFT(x_padded) * conj(FFT(y_padded) ) or IFFT ( FFT(x_padded) * (FFT(y_padded_reversed) ); x_padded and y_padded are the input signals padded at the end with 0s (for at least the same as their initial size) and y_padded_reverse is y_padded , but time reversed.
Anyway... the idea is that I tried using this, but to no avail. Any help here, or ideas on how I could implement a cross-correlation meter?
Anyway... the idea is that I tried using this, but to no avail. Any help here, or ideas on how I could implement a cross-correlation meter?