- Timestamp:
- Aug 20, 2015, 1:15:54 PM (9 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:
- 0309a22
- Parents:
- e3e8e9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-fft.c
re3e8e9d r3c6f584 3 3 int main (void) 4 4 { 5 int return_code = 0; 5 6 uint_t i, n_iters = 100; // number of iterations 6 7 uint_t win_s = 500; // window size … … 10 11 // create fft object 11 12 aubio_fft_t * fft = new_aubio_fft(win_s); 13 14 if (!fft) { 15 return_code = 1; 16 goto beach; 17 } 12 18 13 19 // fill input with some data … … 34 40 //fvec_print(out); 35 41 del_aubio_fft(fft); 42 beach: 36 43 del_fvec(in); 37 44 del_cvec(fftgrain); 38 45 del_fvec(out); 39 46 aubio_cleanup(); 40 return 0;47 return return_code; 41 48 }
Note: See TracChangeset
for help on using the changeset viewer.