Changeset dc654f8 for python/lib
- Timestamp:
- May 16, 2016, 3:24:09 AM (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:
- f44384d
- Parents:
- 4120fbc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/slicing.py
r4120fbc rdc654f8 15 15 if timestamps[0] != 0: 16 16 timestamps = [0] + timestamps 17 if timestamps_end !=None:17 if timestamps_end is not None: 18 18 timestamps_end = [timestamps[1] - 1] + timestamps_end 19 19 20 if timestamps_end !=None:20 if timestamps_end is not None: 21 21 if len(timestamps_end) != len(timestamps): 22 22 raise ValueError("len(timestamps_end) != len(timestamps)") … … 28 28 29 29 source_base_name, _ = os.path.splitext(os.path.basename(source_file)) 30 if output_dir !=None:30 if output_dir is not None: 31 31 if not os.path.isdir(output_dir): 32 32 os.makedirs(output_dir)
Note: See TracChangeset
for help on using the changeset viewer.