Changes in / [be6e8e6:763a7f1]
- Location:
- src
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio.h
rbe6e8e6 r763a7f1 179 179 #include "spectral/mfcc.h" 180 180 #include "spectral/specdesc.h" 181 #include "spectral/awhitening.h"182 181 #include "spectral/tss.h" 183 182 #include "pitch/pitch.h" -
src/onset/onset.c
rbe6e8e6 r763a7f1 24 24 #include "spectral/specdesc.h" 25 25 #include "spectral/phasevoc.h" 26 #include "spectral/awhitening.h"27 26 #include "onset/peakpicker.h" 28 27 #include "mathutils.h" … … 44 43 uint_t total_frames; /**< total number of frames processed since the beginning */ 45 44 uint_t last_onset; /**< last detected onset location, in frames */ 46 47 uint_t apply_adaptive_whitening;48 aubio_spectral_whitening_t *spectral_whitening;49 45 }; 50 46 … … 54 50 smpl_t isonset = 0; 55 51 aubio_pvoc_do (o->pv,input, o->fftgrain); 56 /*57 if (apply_filtering) {58 }59 if (apply_compression) {60 }61 */62 if (o->apply_adaptive_whitening) {63 aubio_spectral_whitening_do(o->spectral_whitening, o->fftgrain);64 }65 52 aubio_specdesc_do (o->od, o->fftgrain, o->desc); 66 53 aubio_peakpicker_do(o->pp, o->desc, onset); … … 228 215 aubio_onset_set_silence(o, -70.); 229 216 230 o->spectral_whitening = new_aubio_spectral_whitening(buf_size, hop_size, samplerate);231 o->apply_adaptive_whitening = 1;232 233 217 /* initialize internal variables */ 234 218 o->last_onset = 0; … … 243 227 void del_aubio_onset (aubio_onset_t *o) 244 228 { 245 del_aubio_spectral_whitening(o->spectral_whitening);246 229 del_aubio_specdesc(o->od); 247 230 del_aubio_peakpicker(o->pp);
Note: See TracChangeset
for help on using the changeset viewer.