projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aeac4c
)
fcomb doesn't output anything correct above 5000Hz
author
Paul Brossier
<piem@altern.org>
Mon, 22 Aug 2005 19:33:30 +0000
(19:33 +0000)
committer
Paul Brossier
<piem@altern.org>
Mon, 22 Aug 2005 19:33:30 +0000
(19:33 +0000)
src/pitchfcomb.c
patch
|
blob
|
history
diff --git
a/src/pitchfcomb.c
b/src/pitchfcomb.c
index
db00feb
..
64597a0
100644
(file)
--- a/
src/pitchfcomb.c
+++ b/
src/pitchfcomb.c
@@
-120,7
+120,7
@@
smpl_t aubio_pitchfcomb_detect (aubio_pitchfcomb_t * p, fvec_t * input)
}
}
/* quick hack to clean output a bit */
- if (peaks[k].freq >
10000
) return 0.;
+ if (peaks[k].freq >
5000.
) return 0.;
return peaks[k].freq;
}