Skip to main content

yin_pitch

Function yin_pitch 

Source
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.