Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -93,8 +93,8 @@ options, args = parse_args() · 92 unmodified lines | ||
| 93 | 93 | |
| 94 | 94 | filename = options.filename |
| 95 | 95 | samplerate = float(sndfile(filename).samplerate()) |
| 96 | −hopsize = options.hopsize | |
| 97 | −bufsize = options.bufsize | |
| 96 | +hopsize = float(options.hopsize) | |
| 97 | +bufsize = float(options.bufsize) | |
| 98 | 98 | threshold = float(options.threshold) |
| 99 | 99 | silence = float(options.silence) |
| 100 | 100 | mintol = float(options.mintol)*samplerate/hopsize |