Changeset 96a96d7


Ignore:
Timestamp:
Sep 20, 2014, 3:30:51 PM (10 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:
a79ec76
Parents:
ffc1f79
Message:

src/onset/onset.h: add aubio_onset_get_silence()

Location:
src/onset
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    rffc1f79 r96a96d7  
    100100}
    101101
     102smpl_t aubio_onset_get_silence(aubio_onset_t * o) {
     103  return o->silence;
     104}
     105
    102106uint_t aubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold) {
    103107  aubio_peakpicker_set_threshold(o->pp, threshold);
  • src/onset/onset.h

    rffc1f79 r96a96d7  
    126126uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence);
    127127
     128/** get onset detection silence threshold
     129
     130  \param o onset detection object as returned by new_aubio_onset()
     131
     132  \return current silence threshold
     133
     134*/
     135smpl_t aubio_onset_get_silence(aubio_onset_t * o);
     136
    128137/** get onset detection function
    129138
Note: See TracChangeset for help on using the changeset viewer.