From 426e6f799cd4153b7e165bb9fccac200f49c2ae2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 10 Mar 2013 19:22:38 -0500 Subject: [PATCH] src/pitch: start adding confidence --- src/pitch/pitch.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pitch/pitch.h b/src/pitch/pitch.h index 01670352..7ea3bfd6 100644 --- a/src/pitch/pitch.h +++ b/src/pitch/pitch.h @@ -82,6 +82,16 @@ aubio_pitch_t *new_aubio_pitch (char_t * method, */ uint_t aubio_pitch_set_unit (aubio_pitch_t * o, char_t * mode); +/** get the current confidence + + \param o pitch detection object as returned by new_aubio_pitch() + \return the current confidence of the pitch algorithm + +The confidence + +*/ +smpl_t aubio_pitch_get_confidence (aubio_pitch_t * o); + #ifdef __cplusplus } #endif -- 2.26.2