Changeset 10b11d6


Ignore:
Timestamp:
Feb 21, 2014, 5:07:12 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
cbda661
Parents:
8f14c6e
Message:

src/onset/onset.c: add get_threshold

Location:
src/onset
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    r8f14c6e r10b11d6  
    105105}
    106106
     107smpl_t aubio_onset_get_threshold(aubio_onset_t * o) {
     108  return aubio_peakpicker_get_threshold(o->pp);
     109}
     110
    107111uint_t aubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi) {
    108112  o->minioi = minioi;
  • src/onset/onset.h

    r8f14c6e r10b11d6  
    258258smpl_t aubio_onset_get_delay_ms(aubio_onset_t * o);
    259259
     260/** get onset peak picking threshold
     261
     262  \param o onset detection object as returned by new_aubio_onset()
     263  \return current onset detection threshold
     264
     265*/
     266smpl_t aubio_onset_get_threshold(aubio_onset_t * o);
     267
    260268/** delete onset detection object
    261269
Note: See TracChangeset for help on using the changeset viewer.