Changeset f264b17 for python/scripts/aubiocut
- Timestamp:
- Jun 22, 2016, 1:00:10 PM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 4b9443c4
- Parents:
- 60fc05b (diff), 6769586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified python/scripts/aubiocut ¶
r60fc05b rf264b17 135 135 options.source_file = args[0] 136 136 else: 137 print "no file name given\n", usage137 print ("no file name given\n" + usage) 138 138 sys.exit(1) 139 139 return options, args … … 172 172 if o(samples): 173 173 timestamps.append (o.get_last()) 174 if options.verbose: print "%.4f" % o.get_last_s()174 if options.verbose: print ("%.4f" % o.get_last_s()) 175 175 total_frames += read 176 176 if read < hopsize: break … … 189 189 timestamps_end = None 190 190 if options.cut_until_nslices and options.cut_until_nsamples: 191 print "warning: using cut_until_nslices, but cut_until_nsamples is set"191 print ("warning: using cut_until_nslices, but cut_until_nsamples is set") 192 192 if options.cut_until_nsamples: 193 193 timestamps_end = [t + options.cut_until_nsamples for t in timestamps[1:]]
Note: See TracChangeset
for help on using the changeset viewer.