- 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
- Location:
- tests/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-onset.c
r27fa522 rb4f5967 7 7 fvec_t * in = new_fvec (win_s/4, channels); /* input buffer */ 8 8 fvec_t * out = new_fvec (2, channels); /* input buffer */ 9 aubio_onset_t * onset = new_aubio_onset( aubio_onset_complex, win_s, win_s/4, channels);9 aubio_onset_t * onset = new_aubio_onset("complex", win_s, win_s/4, channels); 10 10 uint_t i = 0; 11 11 -
tests/src/test-onsetdetection.c
r27fa522 rb4f5967 12 12 aubio_onsetdetection_t *o; 13 13 14 o = new_aubio_onsetdetection ( aubio_onset_energy, win_s, channels);14 o = new_aubio_onsetdetection ("energy", win_s, channels); 15 15 aubio_onsetdetection_do (o, in, out); 16 16 del_aubio_onsetdetection (o); 17 17 18 o = new_aubio_onsetdetection ( aubio_onset_specdiff, win_s, channels);18 o = new_aubio_onsetdetection ("energy", win_s, channels); 19 19 aubio_onsetdetection_do (o, in, out); 20 20 del_aubio_onsetdetection (o); 21 21 22 o = new_aubio_onsetdetection ( aubio_onset_hfc, win_s, channels);22 o = new_aubio_onsetdetection ("hfc", win_s, channels); 23 23 aubio_onsetdetection_do (o, in, out); 24 24 del_aubio_onsetdetection (o); 25 25 26 o = new_aubio_onsetdetection ( aubio_onset_complex, win_s, channels);26 o = new_aubio_onsetdetection ("complex", win_s, channels); 27 27 aubio_onsetdetection_do (o, in, out); 28 28 del_aubio_onsetdetection (o); 29 29 30 o = new_aubio_onsetdetection ( aubio_onset_phase, win_s, channels);30 o = new_aubio_onsetdetection ("phase", win_s, channels); 31 31 aubio_onsetdetection_do (o, in, out); 32 32 del_aubio_onsetdetection (o); 33 33 34 o = new_aubio_onsetdetection ( aubio_onset_kl, win_s, channels);34 o = new_aubio_onsetdetection ("kl", win_s, channels); 35 35 aubio_onsetdetection_do (o, in, out); 36 36 del_aubio_onsetdetection (o); 37 37 38 o = new_aubio_onsetdetection ( aubio_onset_mkl, win_s, channels);38 o = new_aubio_onsetdetection ("mkl", win_s, channels); 39 39 aubio_onsetdetection_do (o, in, out); 40 40 del_aubio_onsetdetection (o); -
tests/src/test-tempo.c
r27fa522 rb4f5967 8 8 fvec_t * in = new_fvec (win_s, channels); /* input buffer */ 9 9 fvec_t * out = new_fvec (2, channels); /* input buffer */ 10 aubio_tempo_t * o = new_aubio_tempo( aubio_onset_complex, win_s, win_s/4, channels);10 aubio_tempo_t * o = new_aubio_tempo("complex", win_s, win_s/4, channels); 11 11 uint_t i = 0; 12 12
Note: See TracChangeset
for help on using the changeset viewer.