Changeset 5e9c68a for python/aubiopitch
- Timestamp:
- Aug 9, 2005, 7:56:21 PM (19 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubiopitch
r28d8c4a r5e9c68a 14 14 nvalue = parser.rargs[0] 15 15 if nvalue == 'mcomb' : 16 setattr(parser.values, option.dest, aubio_ mcomb)16 setattr(parser.values, option.dest, aubio_pitch_mcomb) 17 17 elif nvalue == 'yin' : 18 setattr(parser.values, option.dest, aubio_ yin)18 setattr(parser.values, option.dest, aubio_pitch_yin) 19 19 elif nvalue == 'fcomb' : 20 setattr(parser.values, option.dest, aubio_ fcomb)20 setattr(parser.values, option.dest, aubio_pitch_fcomb) 21 21 elif nvalue == 'schmitt' : 22 setattr(parser.values, option.dest, aubio_ schmitt)22 setattr(parser.values, option.dest, aubio_pitch_schmitt) 23 23 24 24 … … 30 30 help="input sound file") 31 31 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, 33 33 help="pitch detection mode [default=mcomb] \ 34 34 mcomb|yin|fcomb|schmitt")
Note: See TracChangeset
for help on using the changeset viewer.