peakpick.h File Reference

peak picking utilities function More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef smpl_t(*) aubio_thresholdfn_t (fvec_t *input)
 function pointer to thresholding function
typedef uint_t(*) aubio_pickerfn_t (fvec_t *input, uint_t pos)
 function pointer to peak-picking function
typedef _aubio_pickpeak_t aubio_pickpeak_t
 peak-picker structure

Functions

aubio_pickpeak_tnew_aubio_peakpicker (smpl_t threshold)
 peak-picker creation function
uint_t aubio_peakpick_pimrt (fvec_t *DF, aubio_pickpeak_t *p)
 real time peak picking function
uint_t aubio_peakpick_pimrt_wt (fvec_t *DF, aubio_pickpeak_t *p, smpl_t *peakval)
 function added by Miguel Ramirez to return the onset detection amplitude in peakval
smpl_t aubio_peakpick_pimrt_getval (aubio_pickpeak_t *p)
 get current peak value
void del_aubio_peakpicker (aubio_pickpeak_t *p)
 destroy peak picker structure
void aubio_peakpicker_set_threshold (aubio_pickpeak_t *p, smpl_t threshold)
 set peak picking threshold
smpl_t aubio_peakpicker_get_threshold (aubio_pickpeak_t *p)
 get peak picking threshold
void aubio_peakpicker_set_thresholdfn (aubio_pickpeak_t *p, aubio_thresholdfn_t thresholdfn)
 set peak picker thresholding function
aubio_thresholdfn_t aubio_peakpicker_get_thresholdfn (aubio_pickpeak_t *p)
 get peak picker thresholding function


Detailed Description

peak picking utilities function

Todo:
check/fix peak picking

Generated on Wed Oct 11 17:36:52 2006 for aubio by  doxygen 1.4.7