Changeset 5e9c68a for python/aubiopitch


Ignore:
Timestamp:
Aug 9, 2005, 7:56:21 PM (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:
a29ad46
Parents:
28d8c4a
Message:

rename file_ to aubio_sndfile, protect aubio_pitdetection_{mode,type} enumerators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubiopitch

    r28d8c4a r5e9c68a  
    1414        nvalue = parser.rargs[0]
    1515        if   nvalue == 'mcomb' :
    16                  setattr(parser.values, option.dest, aubio_mcomb)
     16                 setattr(parser.values, option.dest, aubio_pitch_mcomb)
    1717        elif nvalue == 'yin'           :
    18                  setattr(parser.values, option.dest, aubio_yin)
     18                 setattr(parser.values, option.dest, aubio_pitch_yin)
    1919        elif nvalue == 'fcomb'         :
    20                  setattr(parser.values, option.dest, aubio_fcomb)
     20                 setattr(parser.values, option.dest, aubio_pitch_fcomb)
    2121        elif nvalue == 'schmitt'      :
    22                  setattr(parser.values, option.dest, aubio_schmitt)
     22                 setattr(parser.values, option.dest, aubio_pitch_schmitt)
    2323
    2424
     
    3030                          help="input sound file")
    3131        parser.add_option("-m","--mode", action="callback",
    32                           callback=check_mode, dest="mode", default=aubio_mcomb,
     32                          callback=check_mode, dest="mode", default=aubio_pitch_mcomb,
    3333                          help="pitch detection mode [default=mcomb] \
    3434                          mcomb|yin|fcomb|schmitt")
Note: See TracChangeset for help on using the changeset viewer.