Changeset adf09b2 for python


Ignore:
Timestamp:
Oct 29, 2018, 3:37:14 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:
92a6af0, ab24edb
Parents:
e126e65
Message:

[py] [cut] use source.samplerate

File:
1 edited

Legend:

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

    re126e65 radf09b2  
    102102    s = source(source_uri, samplerate, hopsize)
    103103    if samplerate == 0:
    104         samplerate = s.get_samplerate()
     104        samplerate = s.samplerate
    105105        options.samplerate = samplerate
    106106
Note: See TracChangeset for help on using the changeset viewer.