pub fn pitch_shift(
surface: &TfSurface<'_>,
factor: f32,
out: &mut [f32],
) -> Result<usize, SurfaceEditError>Expand description
Pitch-shift by resampling along the frequency axis.
factor > 1.0 shifts up, factor < 1.0 shifts down.
out must be at least frame_count * bin_count.