Function loud_segments

Source
pub fn loud_segments(
    peaks: &Peaks,
    src_in: f64,
    src_len: f64,
    params: &AutoCutParams,
) -> Vec<(f64, f64)>
Expand description

Loud segments as (start, end) in SOURCE seconds within [src_in, src_in + src_len) of the analysed stream, merged/filtered per params and clamped to that window. Peak level per bucket = max(|min|, |max|) → dBFS. Empty peaks → empty result.