Changeset f841b81 for python/aubiocut


Ignore:
Timestamp:
Jun 14, 2005, 1:09:32 AM (20 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:
651b97e
Parents:
1397c6e
Message:

add Kullback Liebler onset detection function and its modified version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubiocut

    r1397c6e rf841b81  
    2222        elif nvalue == 'energy'        :
    2323                 setattr(parser.values, option.dest, energy)
     24        elif nvalue == 'kl'            :
     25                 setattr(parser.values, option.dest, kl)
     26        elif nvalue == 'mkl'           :
     27                 setattr(parser.values, option.dest, mkl)
    2428        elif nvalue == 'dual'          :
    2529                 setattr(parser.values, option.dest, 'dual')
     30        else:
     31                 print "unknown detection function selected\n", usage
     32                 sys.exit(1)
    2633
    2734def parse_args():
Note: See TracChangeset for help on using the changeset viewer.