Changeset aea235c for tests/src/test-phasevoc.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-phasevoc.c
r4621cd6 raea235c 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 */10 9 /* allocate some memory */ 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 */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 */ 14 13 /* allocate fft and other memory space */ 15 aubio_pvoc_t * pv = new_aubio_pvoc(win_s,hop_s ,channels);14 aubio_pvoc_t * pv = new_aubio_pvoc(win_s,hop_s); 16 15 /* fill input with some data */ 17 16 printf("initialised\n");
Note: See TracChangeset
for help on using the changeset viewer.