pub fn downsample_peaks(samples: &[f32], buckets: usize) -> Vec<WaveBucket>Expand description
Reduce samples to buckets min/max envelopes — the peak-pair
representation every scrubbable waveform uses. Pure + deterministic.
pub fn downsample_peaks(samples: &[f32], buckets: usize) -> Vec<WaveBucket>Reduce samples to buckets min/max envelopes — the peak-pair
representation every scrubbable waveform uses. Pure + deterministic.