projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4aa258
)
src/pitch/pitchspecacf.c: set confidence to 0. for now
author
Paul Brossier
<piem@piem.org>
Wed, 16 Oct 2013 22:06:41 +0000
(
00:06
+0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 16 Oct 2013 22:06:41 +0000
(
00:06
+0200)
src/pitch/pitchspecacf.c
patch
|
blob
|
history
diff --git
a/src/pitch/pitchspecacf.c
b/src/pitch/pitchspecacf.c
index
269f4b2
..
7b25a22
100644
(file)
--- a/
src/pitch/pitchspecacf.c
+++ b/
src/pitch/pitchspecacf.c
@@
-49,6
+49,7
@@
new_aubio_pitchspecacf (uint_t bufsize)
p->sqrmag = new_fvec (bufsize);
p->acf = new_fvec (bufsize / 2 + 1);
p->tol = 1.;
+ p->confidence = 0.;
return p;
}
@@
-91,7
+92,8
@@
del_aubio_pitchspecacf (aubio_pitchspecacf_t * p)
smpl_t
aubio_pitchspecacf_get_confidence (aubio_pitchspecacf_t * o) {
- return 0;
+ // no confidence for now
+ return o->confidence;
}
uint_t