pub fn estimate_f0_hz(
frame: &[f32],
sample_rate: u32,
min_hz: f32,
max_hz: f32,
) -> PitchEstimateExpand description
F0 for one frame via the real YIN estimator (CMND + absolute threshold +
parabolic interpolation) in features::pitch. Replaced the earlier coarse
integer-lag argmin. Allocates a per-call difference-function scratch (this is
the batch convenience path; the zero-heap path is features::pitch::yin_pitch
with a caller-owned scratch).