Changeset bd973b0
- Timestamp:
- Mar 26, 2017, 5:49:11 PM (8 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, sampler
- Children:
- b31a91c
- Parents:
- 7b711b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
r7b711b3 rbd973b0 296 296 aubio_onset_set_delay (o, 4.6 * o->hop_size); 297 297 aubio_onset_set_threshold (o, 0.15); 298 o->apply_compression = 1;299 o->lambda_compression = 1.;298 aubio_onset_set_awhitening(o, 1); 299 aubio_onset_set_compression (o, 1.); 300 300 } else if (strcmp (onset_mode, "phase") == 0) { 301 301 o->apply_compression = 0; 302 aubio_onset_set_a daptive_whitening (o, 0);302 aubio_onset_set_awhitening (o, 0); 303 303 } else if (strcmp (onset_mode, "mkl") == 0) { 304 304 aubio_onset_set_threshold (o, 0.05); 305 aubio_onset_set_awhitening(o, 1); 306 aubio_onset_set_compression (o, 0.02); 305 307 } else if (strcmp (onset_mode, "kl") == 0) { 306 308 aubio_onset_set_threshold (o, 0.35); 309 aubio_onset_set_awhitening(o, 1); 310 aubio_onset_set_compression (o, 0.02); 307 311 } else if (strcmp (onset_mode, "specflux") == 0) { 308 aubio_onset_set_threshold (o, 0.4); 312 aubio_onset_set_threshold (o, 0.25); 313 aubio_onset_set_awhitening(o, 1); 314 aubio_onset_set_compression (o, 20.); 309 315 } else if (strcmp (onset_mode, "specdiff") == 0) { 310 316 } else {
Note: See TracChangeset
for help on using the changeset viewer.