Changeset 6338636
- Timestamp:
- Oct 16, 2009, 4:03:03 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:
- 0a257a6
- Parents:
- f1b6aad
- Location:
- src/onset
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
rf1b6aad r6338636 72 72 } 73 73 74 voidaubio_onset_set_silence(aubio_onset_t * o, smpl_t silence) {74 uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence) { 75 75 o->silence = silence; 76 return ;76 return AUBIO_OK; 77 77 } 78 78 79 voidaubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold) {79 uint_t aubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold) { 80 80 o->threshold = threshold; 81 81 aubio_peakpicker_set_threshold(o->pp, o->threshold); 82 return ;82 return AUBIO_OK; 83 83 } 84 84 85 voidaubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi) {85 uint_t aubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi) { 86 86 o->minioi = minioi; 87 return ;87 return AUBIO_OK; 88 88 } 89 89 -
src/onset/onset.h
rf1b6aad r6338636 70 70 71 71 */ 72 voidaubio_onset_set_silence(aubio_onset_t * o, smpl_t silence);72 uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence); 73 73 74 74 /** set onset detection peak picking threshold … … 78 78 79 79 */ 80 voidaubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold);80 uint_t aubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold); 81 81 82 82 /** set minimum inter onset interval … … 87 87 88 88 */ 89 voidaubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi);89 uint_t aubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi); 90 90 91 91 /** delete onset detection object
Note: See TracChangeset
for help on using the changeset viewer.