Changes in tests/src/test-phasevoc.c [aea235c:47eabeb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-phasevoc.c
raea235c r47eabeb 7 7 uint_t win_s = 1024; /* window size */ 8 8 uint_t hop_s = 256; /* hop size */ 9 uint_t channels = 4; /* number of channels */ 9 10 /* allocate some memory */ 10 fvec_t * in = new_fvec (hop_s ); /* input buffer */11 cvec_t * fftgrain = new_cvec (win_s ); /* fft norm and phase */12 fvec_t * out = new_fvec (hop_s ); /* output buffer */11 fvec_t * in = new_fvec (hop_s, channels); /* input buffer */ 12 cvec_t * fftgrain = new_cvec (win_s, channels); /* fft norm and phase */ 13 fvec_t * out = new_fvec (hop_s, channels); /* output buffer */ 13 14 /* allocate fft and other memory space */ 14 aubio_pvoc_t * pv = new_aubio_pvoc(win_s,hop_s );15 aubio_pvoc_t * pv = new_aubio_pvoc(win_s,hop_s,channels); 15 16 /* fill input with some data */ 16 17 printf("initialised\n");
Note: See TracChangeset
for help on using the changeset viewer.