Changeset 7ac374d for src/onset/onset.c
- Timestamp:
- Aug 13, 2015, 10:39:29 PM (9 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, sampler
- Children:
- 65c352e
- Parents:
- 192fa6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
r192fa6a r7ac374d 113 113 } 114 114 115 uint_t aubio_onset_set_adaptive_whitening (aubio_onset_t *o, uint_t apply_adaptive_whitening) 116 { 117 o->apply_adaptive_whitening = apply_adaptive_whitening; 118 return AUBIO_OK; 119 } 120 121 uint_t aubio_onset_get_adaptive_whitening (aubio_onset_t *o) 122 { 123 return o->apply_adaptive_whitening; 124 } 125 115 126 uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence) { 116 127 o->silence = silence; … … 229 240 230 241 o->spectral_whitening = new_aubio_spectral_whitening(buf_size, hop_size, samplerate); 231 o->apply_adaptive_whitening = 1;242 o->apply_adaptive_whitening = 0; 232 243 233 244 /* initialize internal variables */
Note: See TracChangeset
for help on using the changeset viewer.