- Timestamp:
- Oct 8, 2009, 8:49:10 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:
- 7a6cbbe
- Parents:
- 2ba3440
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-pitchyinfft.c
r2ba3440 r22d33e2 6 6 uint_t channels = 1; /* number of channel */ 7 7 fvec_t * in = new_fvec (win_s, channels); /* input buffer */ 8 fvec_t * out = new_fvec (1, channels); /* output pitch periods */ 8 9 aubio_pitchyinfft_t * o = new_aubio_pitchyinfft(win_s); 10 aubio_pitchyinfft_set_tolerance (o, 0.2); 9 11 uint_t i = 0; 10 12 11 13 while (i < 10) { 12 aubio_pitchyinfft_do (o,in, 0.2);14 aubio_pitchyinfft_do (o,in,out); 13 15 i++; 14 16 };
Note: See TracChangeset
for help on using the changeset viewer.