pub fn resample(x: &[f32], from: u32, to: u32) -> Vec<f32>Expand description
Resample x from from Hz to to Hz: windowed-sinc interpolation (Kaiser, β = 9, 32 zero
crossings each side), low-pass at 95 % of the lower Nyquist frequency. The output covers the same
duration (ceil(len · to / from) samples), with no delay.