Skip to main content

dynamic_complexity

Function dynamic_complexity 

Source
pub fn dynamic_complexity(loudness_frames: &[f32]) -> f32
Expand description

Average absolute deviation of a loudness series from its mean.

Returns 0.0 for an empty series or a single frame. Non-finite frames (e.g. −inf for silent frames) are ignored so a stray silent frame does not blow the statistic to infinity.