Skip to main content

mono_mean

Function mono_mean 

pub fn mono_mean(channels: &[Vec<f64>]) -> Vec<f64>
Expand description

Mixes channels to mono as their mean. Mixing L = x with R = -x gives silence, and L = R = x gives x.

The channels must have equal length; a longer channel’s extra samples are ignored.