Skip to main content

normalize_to

Function normalize_to 

Source
pub fn normalize_to(
    samples: &mut [f64],
    sample_rate: f64,
    target_lufs: f64,
) -> Option<NormReport>
Expand description

Normalize samples in place toward the target integrated loudness, never exceeding PEAK_CEILING.

Returns None (leaving samples untouched) when the signal is gated silent.