projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b082d
)
fixed pitchyin
author
Paul Brossier
<piem@altern.org>
Tue, 30 Nov 2004 22:37:55 +0000
(22:37 +0000)
committer
Paul Brossier
<piem@altern.org>
Tue, 30 Nov 2004 22:37:55 +0000
(22:37 +0000)
src/pitchyin.c
patch
|
blob
|
history
src/pitchyin.h
patch
|
blob
|
history
diff --git
a/src/pitchyin.c
b/src/pitchyin.c
index 61f425d38ffb46c9bb5d05b6388e80fa02d328ef..bbfeb2b20255daef55166e4e204b8ceb3ffd847f 100644
(file)
--- a/
src/pitchyin.c
+++ b/
src/pitchyin.c
@@
-88,9
+88,9
@@
uint_t aubio_pitchyin_getpitch(fvec_t * yin) {
/* all the above in one */
-
void
aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin){
- uint_t c,j,tau;
- smpl_t tmp, tmp2;
+
uint_t
aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin){
+ uint_t c,j,tau
= 0
;
+ smpl_t tmp
= 0
, tmp2;
for (c=0;c<input->channels;c++)
{
for (tau=0;tau<yin->length;tau++)
diff --git
a/src/pitchyin.h
b/src/pitchyin.h
index 0bfc36492340deb7e496669cef70df739a9bbaba..2d2af505510bad421e047bddf5098cd97cf85284 100644
(file)
--- a/
src/pitchyin.h
+++ b/
src/pitchyin.h
@@
-38,6
+38,8
@@
void aubio_pitchyin_getcum(fvec_t * yin);
uint_t aubio_pitchyin_getpitch(fvec_t *yin);
+uint_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t *yin);
+
#ifdef __cplusplus
}
#endif