From: Paul Brossier Date: Sat, 28 May 2005 21:48:06 +0000 (+0000) Subject: fix buffer size settings in new aubiocut X-Git-Tag: bzr2git~899 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b384f3358ed53505cea751de2c1f43947ff8dbc;p=aubio.git fix buffer size settings in new aubiocut --- diff --git a/python/aubiocut b/python/aubiocut index a83038a3..8242bf9d 100755 --- 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