projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94f98b
)
fix fine tuningi for yin
author
Paul Brossier
<piem@altern.org>
Tue, 21 Mar 2006 22:27:13 +0000
(22:27 +0000)
committer
Paul Brossier
<piem@altern.org>
Tue, 21 Mar 2006 22:27:13 +0000
(22:27 +0000)
fix fine tuningi for yin
src/pitchyin.c
patch
|
blob
|
history
diff --git
a/src/pitchyin.c
b/src/pitchyin.c
index 76505f2980eb1d64853e2294ae68365f05a9d44c..02e507be41ab20ee2a67e72cf87dfdf28a117011 100644
(file)
--- a/
src/pitchyin.c
+++ b/
src/pitchyin.c
@@
-106,7
+106,7
@@
smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin, smpl_t tol){
period = tau-3;
if(tau > 4 && (yin->data[c][period] < tol) &&
(yin->data[c][period] < yin->data[c][period+1])) {
- return vec_quadint_min(yin,period,1)
-1
;
+ return vec_quadint_min(yin,period,1);
}
}
return 0;