From 3822b73d67375f4a25d241ae8120c090887cd3a4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 30 Nov 2007 21:02:35 +0100 Subject: [PATCH] swig/aubio.i: add aubio_peakpicker_get/set_threshold --- swig/aubio.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swig/aubio.i b/swig/aubio.i index 0ad423a9..66e17d93 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -262,9 +262,11 @@ void del_aubio_pitchfcomb (aubio_pitchfcomb_t *p); /* peakpicker */ aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold); uint_t aubio_peakpick_pimrt(fvec_t * DF, aubio_pickpeak_t * p); -smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p); uint_t aubio_peakpick_pimrt_wt( fvec_t* DF, aubio_pickpeak_t* p, smpl_t* peakval ); +smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p); void del_aubio_peakpicker(aubio_pickpeak_t * p); +void aubio_peakpicker_set_threshold(aubio_pickpeak_t * p, smpl_t threshold); +smpl_t aubio_peakpicker_get_threshold(aubio_pickpeak_t * p); /* transient/steady state separation */ aubio_tss_t * new_aubio_tss(smpl_t thrs, smpl_t alfa, smpl_t beta, -- 2.26.2