- Timestamp:
- Feb 12, 2013, 8:06:31 PM (12 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:
- f36277c
- Parents:
- b0d5a48
- Location:
- src/onset
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
rb0d5a48 rae81726 73 73 } 74 74 75 smpl_t aubio_onset_get_descriptor(aubio_onset_t * o) { 76 return o->of->data[0]; 77 } 78 79 smpl_t aubio_onset_get_thresholded_descriptor(aubio_onset_t * o) { 80 fvec_t * thresholded = aubio_peakpicker_get_thresholded_input(o->pp); 81 return thresholded->data[0]; 82 } 83 75 84 uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence) { 76 85 o->silence = silence; -
src/onset/onset.h
rb0d5a48 rae81726 73 73 uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence); 74 74 75 /** get onset detection function 76 77 \param o onset detection object as returned by new_aubio_onset 78 \return the current value of the descriptor 79 80 */ 81 smpl_t aubio_onset_get_descriptor ( aubio_onset_t *o); 82 83 /** get thresholded onset detection function 84 85 \param o onset detection object as returned by new_aubio_onset 86 \return the value of the thresholded descriptor 87 88 */ 89 smpl_t aubio_onset_get_thresholded_descriptor ( aubio_onset_t *o); 90 75 91 /** set onset detection peak picking threshold 76 92
Note: See TracChangeset
for help on using the changeset viewer.