pub fn yin_pitch(
frame: &[f32],
sample_rate: f32,
min_hz: f32,
max_hz: f32,
threshold: f32,
scratch: &mut [f32],
) -> Result<PitchEstimate, AudioError>Expand description
Estimate the fundamental frequency of frame with the YIN algorithm.