Changeset cd77c15
- Timestamp:
- Oct 15, 2009, 6:49:47 PM (15 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:
- fe163ad
- Parents:
- b4f5967
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onsetdetection.c
rb4f5967 rcd77c15 134 134 aubio_onset_mkl, /**< modified Kullback Liebler */ 135 135 aubio_onset_specflux, /**< spectral flux */ 136 aubio_onset_default = aubio_onset_hfc, /**< default mode, set to hfc */ 136 137 } aubio_onsetdetection_type; 137 138 … … 340 341 else if (strcmp (onset_mode, "specflux") == 0) 341 342 onset_type = aubio_onset_specflux; 343 else if (strcmp (onset_mode, "default") == 0) 344 onset_type = aubio_onset_default; 342 345 else { 343 346 AUBIO_ERR("unknown onset type.\n"); 344 return NULL;347 onset_type = aubio_onset_default; 345 348 } 346 349 switch(onset_type) {
Note: See TracChangeset
for help on using the changeset viewer.