return AUBIO_OK;
}
+smpl_t aubio_onset_get_silence(aubio_onset_t * o) {
+ return o->silence;
+}
+
uint_t aubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold) {
aubio_peakpicker_set_threshold(o->pp, threshold);
return AUBIO_OK;
*/
uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence);
+/** get onset detection silence threshold
+
+ \param o onset detection object as returned by new_aubio_onset()
+
+ \return current silence threshold
+
+*/
+smpl_t aubio_onset_get_silence(aubio_onset_t * o);
+
/** get onset detection function
\param o onset detection object as returned by new_aubio_onset()