Changeset c82859f for src/onset


Ignore:
Timestamp:
Apr 5, 2017, 11:47:40 AM (7 years ago)
Author:
Paul Brossier <piem@piem.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, sampler
Children:
3502119
Parents:
e8b47ce
Message:

src/onset/onset.c: add old_default mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    re8b47ce rc82859f  
    323323    aubio_onset_set_compression (o, 10.);
    324324  } else if (strcmp (onset_mode, "specdiff") == 0) {
     325  } else if (strcmp (onset_mode, "old_default") == 0) {
     326    // used to reproduce results obtained with the previous version
     327    aubio_onset_set_threshold (o, 0.3);
     328    aubio_onset_set_minioi_ms (o, 20.);
     329    aubio_onset_set_compression (o, 0.);
    325330  } else {
    326331    AUBIO_WRN("onset: unknown spectral descriptor type %s, "
Note: See TracChangeset for help on using the changeset viewer.