source: tests/src/test-window.c @ d25bd12

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since d25bd12 was 0d434df5, checked in by Paul Brossier <piem@piem.org>, 15 years ago

tests/src/test-{hist,window}.c: remove unused argc argv

  • Property mode set to 100644
File size: 927 bytes
Line 
1#include <aubio.h>
2#include <stdlib.h>
3
4int main( )
5{
6  uint_t length;
7  for (length = 2; length <= 5; length++)
8  {
9    fvec_t *t = new_aubio_window(length,aubio_win_rectangle);
10    del_fvec(t);
11    t = new_aubio_window(length,aubio_win_hamming);
12    fvec_print(t);
13    del_fvec(t);
14    t = new_aubio_window(length,aubio_win_hanning);
15    fvec_print(t);
16    del_fvec(t);
17    t = new_aubio_window(length,aubio_win_hanningz);
18    fvec_print(t);
19    del_fvec(t);
20    t = new_aubio_window(length,aubio_win_blackman);
21    fvec_print(t);
22    del_fvec(t);
23    t = new_aubio_window(length,aubio_win_blackman_harris);
24    fvec_print(t);
25    del_fvec(t);
26    t = new_aubio_window(length,aubio_win_gaussian);
27    fvec_print(t);
28    del_fvec(t);
29    t = new_aubio_window(length,aubio_win_welch);
30    fvec_print(t);
31    del_fvec(t);
32    t = new_aubio_window(length,aubio_win_parzen);
33    fvec_print(t);
34    del_fvec(t);
35  }
36  return 0;
37}
38
Note: See TracBrowser for help on using the repository browser.