Changeset aea235c for tests/src/test-filterbank.c
- Timestamp:
- Dec 4, 2009, 1:47:17 AM (14 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:
- f7b05d4
- Parents:
- 4621cd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-filterbank.c
r4621cd6 raea235c 9 9 /* allocate some memory */ 10 10 uint_t win_s = 1024; /* window size */ 11 uint_t channels = 2; /* number of channel */12 11 uint_t n_filters = 13; /* number of filters */ 13 cvec_t *in = new_cvec (win_s , channels); /* input buffer */14 fvec_t *out = new_fvec (win_s , channels); /* input buffer */15 f vec_t *coeffs = NULL;12 cvec_t *in = new_cvec (win_s); /* input buffer */ 13 fvec_t *out = new_fvec (win_s); /* input buffer */ 14 fmat_t *coeffs = NULL; 16 15 17 16 /* allocate fft and other memory space */ … … 23 22 } 24 23 24 /* 25 25 if (fvec_max (coeffs) != 0.) { 26 26 return -1; … … 30 30 return -1; 31 31 } 32 */ 32 33 33 f vec_print (coeffs);34 fmat_print (coeffs); 34 35 35 36 aubio_filterbank_do (o, in, out);
Note: See TracChangeset
for help on using the changeset viewer.