From: Paul Brossier Date: Mon, 11 Mar 2013 00:22:38 +0000 (-0500) Subject: src/pitch: start adding confidence X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=426e6f799cd4153b7e165bb9fccac200f49c2ae2;p=aubio.git src/pitch: start adding confidence --- 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