pub fn envelope(samples: &[i16], buckets: usize) -> Vec<f32>
Peak envelope in 0..=1, one value per bucket.
0..=1