projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98df9f4
)
fix buffer size settings in new aubiocut
author
Paul Brossier
<piem@altern.org>
Sat, 28 May 2005 21:48:06 +0000
(21:48 +0000)
committer
Paul Brossier
<piem@altern.org>
Sat, 28 May 2005 21:48:06 +0000
(21:48 +0000)
python/aubiocut
patch
|
blob
|
history
diff --git
a/python/aubiocut
b/python/aubiocut
index a83038a354ac5624d2e49e9274d09b9ae049f1e1..8242bf9ddfb418a3894ff8642bc6513df4d50457 100755
(executable)
--- a/
python/aubiocut
+++ b/
python/aubiocut
@@
-93,8
+93,8
@@
options, args = parse_args()
filename = options.filename
samplerate = float(sndfile(filename).samplerate())
-hopsize =
options.hopsize
-bufsize =
options.bufsize
+hopsize =
float(options.hopsize)
+bufsize =
float(options.bufsize)
threshold = float(options.threshold)
silence = float(options.silence)
mintol = float(options.mintol)*samplerate/hopsize