projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d282373
)
add crude damage limits, make world executable
author
Paul Brossier
<piem@altern.org>
Sun, 6 Nov 2005 11:19:50 +0000
(11:19 +0000)
committer
Paul Brossier
<piem@altern.org>
Sun, 6 Nov 2005 11:19:50 +0000
(11:19 +0000)
add crude damage limits, make world executable
python/aubiopitch
patch
|
blob
|
history
diff --git
a/python/aubiopitch
b/python/aubiopitch
index 44663abbf9e7b7d8b8ab3406f24d30d6a93de68e..2060d0e64b227847a229d3123792efcce656e3d2 100755
(executable)
--- a/
python/aubiopitch
+++ b/
python/aubiopitch
@@
-107,6
+107,9
@@
else:
omode=options.omode,
bufsize=bufsize,hopsize=hopsize,
silence=silence))
+ for j in range(len(pitch[i])):
+ if pitch[i][j] > 1500 or pitch[i][j] < 40:
+ pitch[i][j] = 0.;
## take back system delay
#if delay != 0: