Changeset 930bfec


Ignore:
Timestamp:
Sep 16, 2017, 4:49:10 PM (7 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:
c3e98d7
Parents:
c81c3d2
Message:

python/lib/aubio/cmd.py: add silence and time format

File:
1 edited

Legend:

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

    rc81c3d2 r930bfec  
    146146    subparser.add_method(helpstr=helpstr)
    147147    subparser.add_buf_hop_size()
    148     #subparser.add_silence()
     148    subparser.add_silence()
    149149    subparser.add_threshold(default=0.3)
    150150    subparser.add_minioi()
    151151    subparser.add_slicer_options()
    152     #subparser.add_time_format()
     152    subparser.add_time_format()
    153153    subparser.add_verbose_help()
    154154    subparser.set_defaults(process=process_cut)
     
    488488
    489489    def flush(self, frames_read, samplerate):
    490         from aubio.cut2 import _cut_slice
     490        from aubio.cut import _cut_slice
    491491        _cut_slice(self.options, self.slices)
    492492        duration = float (frames_read) / float(samplerate)
Note: See TracChangeset for help on using the changeset viewer.