- Timestamp:
- Oct 8, 2009, 7:46:46 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:
- e5757cf
- Parents:
- 6fc103d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-pitchfcomb.c
r6fc103d r8040cca 5 5 uint_t win_s = 1024; /* window size */ 6 6 uint_t hop_s = win_s/4; /* hop size */ 7 uint_t samplerate = 44100; /* samplerate */ 8 uint_t channels = 1; /* number of channel */ 7 uint_t channels = 3; /* number of channel */ 9 8 fvec_t * in = new_fvec (hop_s, channels); /* input buffer */ 9 fvec_t * out = new_fvec (1, channels); 10 10 aubio_pitchfcomb_t * o = new_aubio_pitchfcomb ( 11 win_s, hop_s, samplerate 12 ); 11 win_s, hop_s, channels); 13 12 uint_t i = 0; 14 13 15 while (i < 1000) {16 aubio_pitchfcomb_do (o,in );14 while (i < 2) { 15 aubio_pitchfcomb_do (o,in, out); 17 16 i++; 18 17 };
Note: See TracChangeset
for help on using the changeset viewer.