projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bec8fe
)
add quadratic interpolation to yin
author
Paul Brossier
<piem@altern.org>
Thu, 20 Apr 2006 12:48:25 +0000
(12:48 +0000)
committer
Paul Brossier
<piem@altern.org>
Thu, 20 Apr 2006 12:48:25 +0000
(12:48 +0000)
add quadratic interpolation to yin
src/pitchyin.c
patch
|
blob
|
history
diff --git
a/src/pitchyin.c
b/src/pitchyin.c
index 02e507be41ab20ee2a67e72cf87dfdf28a117011..eb6dec77a62bd6939de5279431ad652ceb7eeccd 100644
(file)
--- a/
src/pitchyin.c
+++ b/
src/pitchyin.c
@@
-109,6
+109,7
@@
smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin, smpl_t tol){
return vec_quadint_min(yin,period,1);
}
}
- return 0;
+ return vec_quadint_min(yin,vec_min_elem(yin),1);
+ //return 0;
}