From: Paul Brossier Date: Fri, 30 Nov 2007 20:02:35 +0000 (+0100) Subject: swig/aubio.i: add aubio_peakpicker_get/set_threshold X-Git-Tag: bzr2git~426 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3822b73d67375f4a25d241ae8120c090887cd3a4;p=aubio.git swig/aubio.i: add aubio_peakpicker_get/set_threshold --- 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,