Changeset 40ed6a7 for src/onset/onset.h


Ignore:
Timestamp:
Mar 26, 2017, 5:38:09 PM (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:
b63c7d3
Parents:
fa3edc6
Message:

src/onset/onset.h: rename to awhitening, add logmap_compression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.h

    rfa3edc6 r40ed6a7  
    121121
    122122  \param o onset detection object as returned by new_aubio_onset()
    123   \param apply_adaptive_whitening 1 to enable, 0 to disable
    124 
    125 */
    126 uint_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 */
    135 uint_t aubio_onset_get_adaptive_whitening(aubio_onset_t * o);
     123  \param enable 1 to enable, 0 to disable
     124
     125  \return 0 if successful, 1 otherwise
     126
     127*/
     128uint_t aubio_onset_set_awhitening(aubio_onset_t * o, uint_t enable);
     129
     130/** get onset detection adaptive whitening
     131
     132  \param o onset detection object as returned by new_aubio_onset()
     133
     134  \return 1 if enabled, 0 otherwise
     135
     136*/
     137smpl_t aubio_onset_get_awhitening(aubio_onset_t * o);
     138
     139/** set or disable log compression
     140
     141  \param o onset detection object as returned by new_aubio_onset()
     142  \param lambda logarithmic compression factor
     143
     144  \return 0 if successful, 1 otherwise
     145
     146 */
     147uint_t aubio_onset_set_logmag_compression(aubio_onset_t *o, smpl_t lambda);
     148
     149/** get onset detection log compression
     150 */
     151smpl_t aubio_onset_get_logmag_compression(aubio_onset_t *o);
    136152
    137153/** set onset detection silence threshold
Note: See TracChangeset for help on using the changeset viewer.