Changeset f1b925e for src/onset/peakpick.c
- Timestamp:
- Oct 16, 2009, 4:26:05 AM (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:
- 240e416
- Parents:
- 0a257a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/peakpick.c
r0a257a6 rf1b925e 127 127 128 128 /** function added by Miguel Ramirez to return the onset detection amplitude in peakval */ 129 voidaubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold) {129 uint_t aubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold) { 130 130 p->threshold = threshold; 131 return ;131 return AUBIO_OK; 132 132 } 133 133 … … 136 136 } 137 137 138 voidaubio_peakpicker_set_thresholdfn(aubio_peakpicker_t * p, aubio_thresholdfn_t thresholdfn) {138 uint_t aubio_peakpicker_set_thresholdfn(aubio_peakpicker_t * p, aubio_thresholdfn_t thresholdfn) { 139 139 p->thresholdfn = thresholdfn; 140 return ;140 return AUBIO_OK; 141 141 } 142 142
Note: See TracChangeset
for help on using the changeset viewer.