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

BlumFollowBalance
ExtensionExtension

Stereo balance analysis

Description

Analyze the balance of a stereo signal. Balance is the distribution of power along the L-R 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 balance: a value on the interval [-1, 1]. The bounds correspond respectively to power fully in the right or left channel.

positionleftcenterright
value1.00.0-1.0

Examples