Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/test-phasevoc.c

    raea235c r47eabeb  
    77        uint_t win_s    = 1024; /* window size                       */
    88        uint_t hop_s    = 256;  /* hop size                          */
     9        uint_t channels = 4;  /* number of channels                */
    910        /* 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      */
    1314        /* 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);
    1516        /* fill input with some data */
    1617        printf("initialised\n");
Note: See TracChangeset for help on using the changeset viewer.