Changeset fa3edc6 for src/onset/onset.h


Ignore:
Timestamp:
Mar 26, 2017, 4:28:54 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:
40ed6a7
Parents:
fa0ef3b
Message:

src/onset/onset.h: add _reset and _set_default_parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.h

    rfa0ef3b rfa3edc6  
    292292smpl_t aubio_onset_get_threshold(const aubio_onset_t * o);
    293293
     294/** set default parameters
     295
     296  \param o onset detection object as returned by new_aubio_onset()
     297  \param onset_mode detection mode to adjust
     298
     299  This function is called at the end of new_aubio_onset().
     300
     301 */
     302uint_t aubio_onset_set_default_parameters (aubio_onset_t * o, const char_t * onset_mode);
     303
     304/** reset onset detection
     305
     306  \param o onset detection object as returned by new_aubio_onset()
     307
     308  Reset current time and last onset to 0.
     309
     310  This function is called at the end of new_aubio_onset().
     311
     312 */
     313void aubio_onset_reset(aubio_onset_t * o);
     314
    294315/** delete onset detection object
    295316
Note: See TracChangeset for help on using the changeset viewer.