- Timestamp:
- Jul 23, 2006, 10:57:39 AM (18 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:
- 895ad8c
- Parents:
- bd24069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onsetdetection.c
rbd24069 rb740b96 26 26 27 27 28 /** structure to store object state */ 28 29 struct _aubio_onsetdetection_t { 29 aubio_onsetdetection_type type; 30 31 32 33 smpl_t threshold; 34 fvec_t *oldmag; 35 fft_data_t *meas; 36 fvec_t *dev1 ; 37 fvec_t *theta1; 38 fvec_t *theta2; 39 aubio_hist_t * histog; 30 aubio_onsetdetection_type type; /**< onset detection type */ 31 /** Pointer to aubio_onsetdetection_<type> function */ 32 void (*funcpointer)(aubio_onsetdetection_t *o, 33 cvec_t * fftgrain, fvec_t * onset); 34 smpl_t threshold; /**< minimum norm threshold for phase and specdiff */ 35 fvec_t *oldmag; /**< previous norm vector */ 36 fft_data_t *meas; /**< current onset detection measure complex vector */ 37 fvec_t *dev1 ; /**< current onset detection measure vector */ 38 fvec_t *theta1; /**< previous phase vector, one frame behind */ 39 fvec_t *theta2; /**< previous phase vector, two frames behind */ 40 aubio_hist_t * histog; /**< histogram */ 40 41 }; 41 42
Note: See TracChangeset
for help on using the changeset viewer.