Ignore:
Timestamp:
Dec 4, 2009, 1:47:17 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
f7b05d4
Parents:
4621cd6
Message:

tests/src: switch to mono

File:
1 edited

Legend:

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

    r4621cd6 raea235c  
    99  /* allocate some memory */
    1010  uint_t win_s = 1024;          /* window size */
    11   uint_t channels = 2;          /* number of channel */
    1211  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   fvec_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;
    1615
    1716  /* allocate fft and other memory space */
     
    2322  }
    2423
     24  /*
    2525  if (fvec_max (coeffs) != 0.) {
    2626    return -1;
     
    3030    return -1;
    3131  }
     32  */
    3233
    33   fvec_print (coeffs);
     34  fmat_print (coeffs);
    3435
    3536  aubio_filterbank_do (o, in, out);
Note: See TracChangeset for help on using the changeset viewer.