Changeset f5e0a54 for src/onset/onset.h


Ignore:
Timestamp:
Mar 15, 2013, 10:24:00 PM (11 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, pitchshift, sampler, timestretch, yinfft+
Children:
35f73b8c
Parents:
376946a
Message:

src/onset/onset.c: add get_last_onset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.h

    r376946a rf5e0a54  
    6868void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset);
    6969
     70/** get the time of the latest onset detected, in samples
     71
     72  \param o onset detection object as returned by new_aubio_onset
     73
     74*/
     75smpl_t aubio_onset_get_last_onset (aubio_onset_t *o);
     76
     77/** get the time of the latest onset detected, in seconds
     78
     79  \param o onset detection object as returned by new_aubio_onset
     80
     81*/
     82smpl_t aubio_onset_get_last_onset_s (aubio_onset_t *o);
     83
     84/** get the time of the latest onset detected, in milliseconds
     85
     86  \param o onset detection object as returned by new_aubio_onset
     87
     88*/
     89smpl_t aubio_onset_get_last_onset_ms (aubio_onset_t *o);
     90
    7091/** set onset detection silence threshold
    7192
Note: See TracChangeset for help on using the changeset viewer.