shithub: aubio

Download patch

ref: 426e6f799cd4153b7e165bb9fccac200f49c2ae2
parent: 5284e0dd92ebb8d44da359a3c2729d5f65cfad5e
author: Paul Brossier <piem@piem.org>
date: Sun Mar 10 15:22:38 EDT 2013

src/pitch: start adding confidence

--- a/src/pitch/pitch.h
+++ b/src/pitch/pitch.h
@@ -82,6 +82,16 @@
 */
 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