Changeset 862d78f
- Timestamp:
- Nov 21, 2007, 12:02:28 PM (17 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:
- c7f32b1
- Parents:
- fabb7cd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
rfabb7cd r862d78f 174 174 else if (strcmp(optarg,"kl") == 0) 175 175 type_onset = aubio_onset_kl; 176 else if (strcmp(optarg,"specflux") == 0) 177 type_onset = aubio_onset_specflux; 176 178 else { 177 179 errmsg("unknown onset type.\n"); -
python/aubio/task/utils.py
rfabb7cd r862d78f 17 17 elif nvalue == 'mkl' : 18 18 return aubio_onset_mkl 19 elif nvalue == 'specflux' : 20 return aubio_onset_specflux 19 21 elif nvalue == 'dual' : 20 22 return 'dual' 21 23 else: 22 24 import sys 23 print "unknown onset detection function selected "25 print "unknown onset detection function selected: %s" % nvalue 24 26 sys.exit(1) 25 27
Note: See TracChangeset
for help on using the changeset viewer.