- Timestamp:
- Nov 3, 2009, 6:23:04 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:
- bf2e7a7
- Parents:
- bafe71d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-onsetdetection.c
rbafe71d r31907fd 12 12 fvec_t *out = new_fvec (1, channels); /* input buffer */ 13 13 14 aubio_ onsetdetection_t *o;14 aubio_specdesc_t *o; 15 15 16 o = new_aubio_ onsetdetection("energy", win_s, channels);17 aubio_ onsetdetection_do (o, in, out);18 del_aubio_ onsetdetection(o);16 o = new_aubio_specdesc ("energy", win_s, channels); 17 aubio_specdesc_do (o, in, out); 18 del_aubio_specdesc (o); 19 19 20 o = new_aubio_ onsetdetection("energy", win_s, channels);21 aubio_ onsetdetection_do (o, in, out);22 del_aubio_ onsetdetection(o);20 o = new_aubio_specdesc ("energy", win_s, channels); 21 aubio_specdesc_do (o, in, out); 22 del_aubio_specdesc (o); 23 23 24 o = new_aubio_ onsetdetection("hfc", win_s, channels);25 aubio_ onsetdetection_do (o, in, out);26 del_aubio_ onsetdetection(o);24 o = new_aubio_specdesc ("hfc", win_s, channels); 25 aubio_specdesc_do (o, in, out); 26 del_aubio_specdesc (o); 27 27 28 o = new_aubio_ onsetdetection("complex", win_s, channels);29 aubio_ onsetdetection_do (o, in, out);30 del_aubio_ onsetdetection(o);28 o = new_aubio_specdesc ("complex", win_s, channels); 29 aubio_specdesc_do (o, in, out); 30 del_aubio_specdesc (o); 31 31 32 o = new_aubio_ onsetdetection("phase", win_s, channels);33 aubio_ onsetdetection_do (o, in, out);34 del_aubio_ onsetdetection(o);32 o = new_aubio_specdesc ("phase", win_s, channels); 33 aubio_specdesc_do (o, in, out); 34 del_aubio_specdesc (o); 35 35 36 o = new_aubio_ onsetdetection("kl", win_s, channels);37 aubio_ onsetdetection_do (o, in, out);38 del_aubio_ onsetdetection(o);36 o = new_aubio_specdesc ("kl", win_s, channels); 37 aubio_specdesc_do (o, in, out); 38 del_aubio_specdesc (o); 39 39 40 o = new_aubio_ onsetdetection("mkl", win_s, channels);41 aubio_ onsetdetection_do (o, in, out);42 del_aubio_ onsetdetection(o);40 o = new_aubio_specdesc ("mkl", win_s, channels); 41 aubio_specdesc_do (o, in, out); 42 del_aubio_specdesc (o); 43 43 44 44 del_cvec (in);
Note: See TracChangeset
for help on using the changeset viewer.