Changeset 56ef7e1 for src/onset/peakpick.h
- Timestamp:
- Oct 18, 2009, 3:08:59 PM (15 years ago)
- 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:
- e5f49af
- Parents:
- 74516f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/peakpick.h
r74516f7 r56ef7e1 32 32 33 33 /** function pointer to thresholding function */ 34 typedef smpl_t (*aubio_thresholdfn_t)(fvec_t *input );34 typedef smpl_t (*aubio_thresholdfn_t)(fvec_t *input, uint_t channel); 35 35 /** function pointer to peak-picking function */ 36 36 typedef uint_t (*aubio_pickerfn_t)(fvec_t *input, uint_t pos); … … 39 39 40 40 /** peak-picker creation function */ 41 aubio_peakpicker_t * new_aubio_peakpicker( smpl_t threshold);41 aubio_peakpicker_t * new_aubio_peakpicker(uint_t channels); 42 42 /** real time peak picking function */ 43 smpl_t aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * DF);43 void aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * in, fvec_t * out); 44 44 /** get current peak value */ 45 45 smpl_t aubio_peakpicker_get_thresholded_input(aubio_peakpicker_t * p);
Note: See TracChangeset
for help on using the changeset viewer.