Showing the changes to python/scripts/aubiocut (1 of 1 file). Show all
Unified · Split
| @@ -186,7 +186,8 @@ if __name__ == '__main__': · 185 unmodified lines | |||
| 186 | timestamps_end = [t for t in timestamps[1 + options.cut_until_nslices:]] | 186 | timestamps_end = [t for t in timestamps[1 + options.cut_until_nslices:]] |
| 187 | timestamps_end += [ 1e120 ] * (options.cut_until_nslices + 1) | 187 | timestamps_end += [ 1e120 ] * (options.cut_until_nslices + 1) |
| 188 | slice_source_at_stamps(source_file, timestamps, timestamps_end = timestamps_end, | 188 | slice_source_at_stamps(source_file, timestamps, timestamps_end = timestamps_end, |
| 189 | output_dir = options.output_directory) | 189 | output_dir = options.output_directory, |
| 190 | samplerate = samplerate) | ||
| 190 | 191 | ||
| 191 | # print some info | 192 | # print some info |
| 192 | duration = float (total_frames) / float(samplerate) | 193 | duration = float (total_frames) / float(samplerate) |