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 016703523372900ea706590a6de325fff6bd8d69..7ea3bfd6c9eeda0918b0cdf208fb0bf2b9ac56aa 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