2 #include "utils_tests.h"
7 uint_t n_length = 4, n_types = 10, i, t;
8 uint_t lengths[4] = { 8, 10, 15, 16 };
9 char *method = "default";
10 char *window_types[10] = { "default",
11 "rectangle", "hamming", "hanning", "hanningz",
12 "blackman", "blackman_harris", "gaussian", "welch", "parzen"};
14 for ( t = 0; t < n_types; t ++ ) {
15 for ( i = 0; i < n_length; i++)
18 method = window_types[t];
20 fvec_t * window = new_aubio_window(method, length);
22 fvec_set_window(window, method);
23 fprintf(stdout, "length: %d, method: %s, window:, ", length, method);