- Timestamp:
- Oct 8, 2009, 8:20:19 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:
- 2ba3440
- Parents:
- e5757cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-pitchschmitt.c
re5757cf rf162cf9 4 4 /* allocate some memory */ 5 5 uint_t win_s = 1024; /* window size */ 6 uint_t samplerate = 44100; /* number of channel */7 6 fvec_t * in = new_fvec (win_s, 1); /* input buffer */ 8 aubio_pitchschmitt_t * o = new_aubio_pitchschmitt(9 win_s, samplerate);7 fvec_t * out = new_fvec (1, 1); /* input buffer */ 8 aubio_pitchschmitt_t * o = new_aubio_pitchschmitt(win_s); 10 9 uint_t i = 0; 11 10 12 11 while (i < 1000) { 13 aubio_pitchschmitt_do (o,in );12 aubio_pitchschmitt_do (o,in, out); 14 13 i++; 15 14 }; … … 17 16 del_aubio_pitchschmitt(o); 18 17 del_fvec(in); 18 del_fvec(out); 19 19 aubio_cleanup(); 20 20
Note: See TracChangeset
for help on using the changeset viewer.