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 | filename = options.filename | 94 | filename = options.filename |
| 95 | samplerate = float(sndfile(filename).samplerate()) | 95 | samplerate = float(sndfile(filename).samplerate()) |
| 96 | hopsize = options.hopsize | 96 | hopsize = float(options.hopsize) |
| 97 | bufsize = options.bufsize | 97 | bufsize = float(options.bufsize) |
| 98 | threshold = float(options.threshold) | 98 | threshold = float(options.threshold) |
| 99 | silence = float(options.silence) | 99 | silence = float(options.silence) |
| 100 | mintol = float(options.mintol)*samplerate/hopsize | 100 | mintol = float(options.mintol)*samplerate/hopsize |