projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8976d6
)
added raw output cleaning
author
Paul Brossier
<piem@altern.org>
Tue, 9 Aug 2005 00:19:30 +0000
(
00:19
+0000)
committer
Paul Brossier
<piem@altern.org>
Tue, 9 Aug 2005 00:19:30 +0000
(
00:19
+0000)
src/pitchfcomb.c
patch
|
blob
|
history
diff --git
a/src/pitchfcomb.c
b/src/pitchfcomb.c
index 1e200f8101db9545ab270d3912a0b719ae0e27a7..fccf955751497a19a0bb26aa5b703bfebfc6f4ce 100644
(file)
--- a/
src/pitchfcomb.c
+++ b/
src/pitchfcomb.c
@@
-119,6
+119,8
@@
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.;
return peaks[k].freq;
}