Skip to main content

peaks

Function peaks 

Source
pub fn peaks(path: &Path, ext: &str, buckets: usize) -> Option<Vec<(f32, f32)>>
Expand description

Decodes an audio file and returns buckets (min, max) pairs of the mono mix, in -1..=1. None if it can’t be decoded.