shithub: aubio

Download patch

ref: 6b384f3358ed53505cea751de2c1f43947ff8dbc
parent: 98df9f419f7c3b10300eeaa57bdbb0ef12ca2d9f
author: Paul Brossier <piem@altern.org>
date: Sat May 28 17:48:06 EDT 2005

fix buffer size settings in new aubiocut

--- a/python/aubiocut
+++ b/python/aubiocut
@@ -93,8 +93,8 @@
 
 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