Changeset a72f3f1
- Timestamp:
- Oct 7, 2009, 11:24:54 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:
- 9a12264
- Parents:
- 316092e
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
r316092e ra72f3f1 41 41 42 42 /* execute onset detection function on iput buffer */ 43 void aubio_onset (aubio_onset_t *o, fvec_t * input, fvec_t * onset)43 void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset) 44 44 { 45 45 uint_t isonset = 0; -
src/onset/onset.h
r316092e ra72f3f1 25 25 in these functions. When onsets are found above a given silence threshold, 26 26 and after a minimum inter-onset interval, the output vector returned by 27 aubio_onset is filled with 1. Otherwise, the output vector remains 0.27 aubio_onset_do is filled with 1. Otherwise, the output vector remains 0. 28 28 29 29 The peak-picking threshold, the silence threshold, and the minimum 30 inter-onset interval can be adjusted during the execution of the aubio_onset31 routine using the corresponding functions.30 inter-onset interval can be adjusted during the execution of the 31 aubio_onset_do routine using the corresponding functions. 32 32 33 33 */ … … 62 62 63 63 */ 64 void aubio_onset (aubio_onset_t *o, fvec_t * input, fvec_t * onset);64 void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset); 65 65 66 66 /** set onset detection silence threshold -
tests/src/test-onset.c
r316092e ra72f3f1 11 11 12 12 while (i < 10) { 13 aubio_onset (onset,in,out);13 aubio_onset_do (onset,in,out); 14 14 i++; 15 15 };
Note: See TracChangeset
for help on using the changeset viewer.