Changeset 8f68dfb for tests/src/spectral/test-filterbank.c
- Timestamp:
- Mar 3, 2013, 4:54:04 AM (12 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:
- ed1deac
- Parents:
- b8c0685
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-filterbank.c
rb8c0685 r8f68dfb 4 4 #include <aubio.h> 5 5 6 int 7 main (void) 8 { 9 /* allocate some memory */ 10 uint_t win_s = 1024; /* window size */ 11 uint_t n_filters = 13; /* number of filters */ 12 cvec_t *in = new_cvec (win_s); /* input buffer */ 13 fvec_t *out = new_fvec (win_s); /* input buffer */ 6 int main (void) { 7 uint_t win_s = 1024; // window size 8 uint_t n_filters = 13; // number of filters 9 cvec_t *in = new_cvec (win_s); // input buffer 10 fvec_t *out = new_fvec (win_s); // vector output */ 14 11 fmat_t *coeffs = NULL; 15 12 16 / * allocate fft and other memory space */13 // create filterbank 17 14 aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s); 18 15
Note: See TracChangeset
for help on using the changeset viewer.