Changeset 97a8bef for python


Ignore:
Timestamp:
Oct 29, 2018, 4:09:49 PM (5 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:
f9400d0
Parents:
5c6a8587
Message:

[py] add a note about missing last timestamp to slice_source_at_stamps docs

File:
1 edited

Legend:

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

    r5c6a8587 r97a8bef  
    2828    of `source_file` will be used. When using a sampling rate
    2929    different to the one of the original files, `timestamps` and
    30     `timestamps_end` should be expressed in re-sampled samples.
     30    `timestamps_end` should be expressed in the re-sampled signal.
    3131
    3232    The `hopsize` parameter simply tells :class:`source` to use this
     
    6262
    6363    >>> aubio.slice_source_at_stamps('loop.wav', [44100], [44100*2])
     64
     65    Notes
     66    -----
     67    Slices may be overlapping. If `timestamps_end` is `1` element
     68    shorter than `timestamps`, the last slice will end at the end of
     69    the file.
    6470    """
    6571
Note: See TracChangeset for help on using the changeset viewer.