Changeset 427be71 for python/aubiocut


Ignore:
Timestamp:
Aug 14, 2005, 12:39:54 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:
a3e24ec
Parents:
b5aa063
Message:

updated aubiocut, added zerocross

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubiocut

    rb5aa063 r427be71  
    5252                          action="store_true", dest="silencecut", default=False,
    5353                          help="outputs silence locations")
    54         # to be implemented
    55        
    5654        parser.add_option("-z","--zerocross",
    57                           action="store_true", dest="zerocross", default=False,
    58                           help="NOT IMPLEMENTED zero crossing matching")
    59         parser.add_option("-b","--beat",
    60                           action="store_true", dest="beat", default=False,
    61                           help="NOT IMPLEMENTED output beat locations")
     55                          action="store", dest="zerothres", default=0.008,
     56                          help="zero-crossing threshold for slicing [default=0.008]")
    6257        # plotting functions
    6358        parser.add_option("-p","--plot",
     
    7368                          action="store_false", dest="verbose", default=False,
    7469                          help="be quiet")
     70        # to be implemented
     71        parser.add_option("-b","--beat",
     72                          action="store_true", dest="beat", default=False,
     73                          help="NOT IMPLEMENTED output beat locations")
    7574        (options, args) = parser.parse_args()
    7675        if not options.filename:
     
    134133
    135134if options.cut:
    136         cutfile(filename,onsets,bufsize=bufsize,hopsize=hopsize)
     135        cutfile(filename,onsets,zerothres=zerothres,bufsize=bufsize,hopsize=hopsize)
Note: See TracChangeset for help on using the changeset viewer.