Changeset 7ac374d for src/onset/onset.h


Ignore:
Timestamp:
Aug 13, 2015, 10:39:29 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
65c352e
Parents:
192fa6a
Message:

src/onset/onset.{c,h}: add method to set adaptive whitening

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.h

    r192fa6a r7ac374d  
    118118smpl_t aubio_onset_get_last_ms (aubio_onset_t *o);
    119119
     120/** set onset detection adaptive whitening
     121
     122  \param o onset detection object as returned by new_aubio_onset()
     123  \param apply_adaptive_whitening 1 to enable, 0 to disable
     124
     125*/
     126uint_t aubio_onset_set_adaptive_whitening(aubio_onset_t * o, uint_t apply_adaptive_whitening);
     127
     128/** get onset detection silence threshold
     129
     130  \param o onset detection object as returned by new_aubio_onset()
     131
     132  \return adaptive whitening mode, 1 if enabled, 0 otherwise
     133
     134*/
     135uint_t aubio_onset_get_adaptive_whitening(aubio_onset_t * o);
     136
    120137/** set onset detection silence threshold
    121138
Note: See TracChangeset for help on using the changeset viewer.