BlumFollowCorrelation:
Filter:
BlumBox/Classes (extension) | Libraries > Blumlein Box > Analyses | UGens > Analysis

BlumFollowCorrelation
ExtensionExtension

Stereo correlation analysis

Description

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.

Class Methods

.ar

.kr

Arguments:

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

\instant for instantaneous analysis or \average for time-averaged analysis

Returns:

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.

positionmiddlede-correlatedside
value1.00.0-1.0

Examples

NOTE: How does the apparent stereo image change as the correlation between L and R channels changes?