Ignore:
Timestamp:
Mar 3, 2013, 4:54:04 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

tests/src/spectral/: improve test examples

File:
1 edited

Legend:

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

    rb8c0685 r8f68dfb  
    44#include <aubio.h>
    55
    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 */
     6int 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 */
    1411  fmat_t *coeffs = NULL;
    1512
    16   /* allocate fft and other memory space */
     13  // create filterbank
    1714  aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s);
    1815
Note: See TracChangeset for help on using the changeset viewer.