Changeset 60c8a73


Ignore:
Timestamp:
Oct 29, 2018, 3:20:46 PM (6 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
Children:
f0ce8aa3
Parents:
58a82d4
Message:

[py] slicing.py: fix for slices smaller than hop_size

File:
1 edited

Legend:

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

    r58a82d4 r60c8a73  
    4949        vec, read = _source.do_multi()
    5050        # if the total number of frames read will exceed the next region start
    51         if len(regions) and total_frames + read >= regions[0][0]:
     51        while len(regions) and total_frames + read >= regions[0][0]:
    5252            #print "getting", regions[0], "at", total_frames
    5353            # get next region
Note: See TracChangeset for help on using the changeset viewer.