Analyze the degree of similarity between left and right channels of a stereo signal. Correlation is the distribution of power along the M-S axis.
in |
The stereo input, an array: [L, R] |
size |
Number of samples for Hilbert window (i.e. FFT size) or running sum. See RunningSum and HilbertW for more info. NOTE: For instantaneous analysis, size must be a power of two! |
method |
|
Stereo correlation: a value on the interval [-1, 1]. A return value of -1 corresponds to L and R channels fully out of phase, while identical L and R channels will return 1. L and R signals in quadrature will return a correlation of 0.
position | middle | de-correlated | side |
value | 1.0 | 0.0 | -1.0 |