src/pitch: start adding confidence
authorPaul Brossier <piem@piem.org>
Mon, 11 Mar 2013 00:22:38 +0000 (19:22 -0500)
committerPaul Brossier <piem@piem.org>
Mon, 11 Mar 2013 00:22:38 +0000 (19:22 -0500)
src/pitch/pitch.h

index 0167035..7ea3bfd 100644 (file)
@@ -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