Function pitch::detect[][src]

pub fn detect(samples: &[f32]) -> (f32, f32)

Do the BCF calculation on raw samples. Returns (hz, amplitude[0-1]).