Changeset 35a44e9 for python/lib/aubio


Ignore:
Timestamp:
Jan 12, 2014, 8:39:19 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
94b16e89
Parents:
6fbee46
Message:

python/lib/aubio/slicing.py: also add end if adding start at 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/aubio/slicing.py

    r6fbee46 r35a44e9  
    1414    if timestamps[0] != 0:
    1515        timestamps = [0] + timestamps
     16        if timestamps_end != None:
     17            timestamps_end = [timestamps[1] - 1] + timestamps_end
    1618
    1719    if timestamps_end != None:
Note: See TracChangeset for help on using the changeset viewer.