Changeset b4f5967 for src/tempo/tempo.c
- Timestamp:
- Oct 15, 2009, 5:09:34 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:
- cd77c15
- Parents:
- 27fa522
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r27fa522 rb4f5967 99 99 100 100 /* Allocate memory for an tempo detection */ 101 aubio_tempo_t * new_aubio_tempo ( aubio_onsetdetection_type type_onset,101 aubio_tempo_t * new_aubio_tempo (char_t * onset_mode, 102 102 uint_t buf_size, uint_t hop_size, uint_t channels) 103 103 { … … 114 114 o->pv = new_aubio_pvoc(buf_size, hop_size, channels); 115 115 o->pp = new_aubio_peakpicker(o->threshold); 116 o->od = new_aubio_onsetdetection( type_onset,buf_size,channels);116 o->od = new_aubio_onsetdetection(onset_mode,buf_size,channels); 117 117 o->of = new_fvec(1, channels); 118 118 o->bt = new_aubio_beattracking(o->winlen,channels);
Note: See TracChangeset
for help on using the changeset viewer.