Ignore:
Timestamp:
Oct 27, 2013, 12:44:29 PM (10 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:
8247249
Parents:
dd15573 (diff), 7fc5ba2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'develop' of aubio.org:/git/aubio/aubio into wavetable

File:
1 edited

Legend:

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

    rdd15573 rdc467b5d  
    88  cvec_t *in_spec = new_cvec (win_s); // input vector of samples
    99  fvec_t *out_filters = new_fvec (n_filters); // per-band outputs
    10   fmat_t *coeffs; // pointer to the coefficients
    1110
    1211  // create filterbank object
    1312  aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s);
    1413
     14  // apply filterbank ten times
     15  uint_t n = 10;
     16  while (n) {
     17    aubio_filterbank_do (o, in_spec, out_filters);
     18    n--;
     19  }
     20
     21  // print out filterbank coeffs
     22  fmat_t *coeffs; // pointer to the coefficients
    1523  coeffs = aubio_filterbank_get_coeffs (o);
     24  fmat_print (coeffs);
    1625
    17   aubio_filterbank_do (o, in_spec, out_filters);
     26  //fvec_print (out_filters);
    1827
    19   // fmat_print (coeffs);
    20   // cvec_print(in_spec);
    21   // fvec_print(out_filters);
    22 
     28  // clean up
    2329  del_aubio_filterbank (o);
    2430  del_cvec (in_spec);
Note: See TracChangeset for help on using the changeset viewer.