- Timestamp:
- Oct 19, 2009, 10:51:59 AM (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:
- b14107f
- Parents:
- 9f07d52
- Location:
- tests/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/Makefile.am
r9f07d52 rca1abdd 27 27 test-pitchfcomb \ 28 28 test-pitchmcomb \ 29 test-pitch detection\29 test-pitch \ 30 30 test-beattracking \ 31 31 test-onset \ -
tests/src/test-pitchdetection.c
r9f07d52 rca1abdd 11 11 fvec_t *in = new_fvec (hop_s, channels); /* input buffer */ 12 12 fvec_t *out = new_fvec (1, channels); /* input buffer */ 13 aubio_pitch detection_t *o =14 new_aubio_pitch detection("default", win_s, hop_s, channels, samplerate);13 aubio_pitch_t *o = 14 new_aubio_pitch ("default", win_s, hop_s, channels, samplerate); 15 15 uint_t i = 0; 16 16 17 17 while (i < 100) { 18 aubio_pitch detection_do (o, in, out);18 aubio_pitch_do (o, in, out); 19 19 i++; 20 20 }; 21 21 22 del_aubio_pitch detection(o);22 del_aubio_pitch (o); 23 23 del_fvec (in); 24 24 aubio_cleanup ();
Note: See TracChangeset
for help on using the changeset viewer.