Changeset 13340a68


Ignore:
Timestamp:
Jun 3, 2005, 3:00:12 AM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
97b8c3d
Parents:
8e8bc50
Message:

added silence detection option to aubiocut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubiocut

    r8e8bc50 r13340a68  
    6565                          action="store_true", dest="derivate", default=False,
    6666                          help="derivate onset detection function")
     67        parser.add_option("-S","--silencecut",
     68                          action="store_true", dest="silencecut", default=False,
     69                          help="outputs silence locations")
    6770        # to be implemented
     71       
    6872        parser.add_option("-z","--zerocross",
    6973                          action="store_true", dest="zerocross", default=False,
     
    108112        #onsets = getbeats(filename,threshold,silence,mode=options.mode)
    109113        exit("not implemented yet")
     114elif options.silencecut:
     115        onsets = getsilences(filename,hopsize=hopsize,silence=silence)
    110116elif options.plot:
    111117        onsets, ofunc = getonsets(filename,threshold,silence,
Note: See TracChangeset for help on using the changeset viewer.