ref: 40898b47ff389d2f8f1ee9cfe646f6c0841953fa
parent: f4aa2581b8dd222bac418ef00ee05a306d9cde81
author: Paul Brossier <piem@piem.org>
date: Wed Oct 16 20:06:41 EDT 2013
src/pitch/pitchspecacf.c: set confidence to 0. for now
--- a/src/pitch/pitchspecacf.c
+++ b/src/pitch/pitchspecacf.c
@@ -49,6 +49,7 @@
p->sqrmag = new_fvec (bufsize);
p->acf = new_fvec (bufsize / 2 + 1);
p->tol = 1.;
+ p->confidence = 0.;
return p;
}
@@ -91,7 +92,8 @@
smpl_t
aubio_pitchspecacf_get_confidence (aubio_pitchspecacf_t * o) {
- return 0;
+ // no confidence for now
+ return o->confidence;
}
uint_t