Changeset 862d78f for python/aubio


Ignore:
Timestamp:
Nov 21, 2007, 12:02:28 PM (17 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, pitchshift, sampler, timestretch, yinfft+
Children:
c7f32b1
Parents:
fabb7cd
Message:

utils.c, utils.py: add specflux onset function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/utils.py

    rfabb7cd r862d78f  
    1717        elif nvalue == 'mkl'           :
    1818                 return aubio_onset_mkl
     19        elif nvalue == 'specflux'      :
     20                 return aubio_onset_specflux
    1921        elif nvalue == 'dual'          :
    2022                 return 'dual'
    2123        else:
    2224                 import sys
    23                  print "unknown onset detection function selected"
     25                 print "unknown onset detection function selected: %s" % nvalue
    2426                 sys.exit(1)
    2527
Note: See TracChangeset for help on using the changeset viewer.