Ignore:
Timestamp:
Dec 5, 2018, 10:34:39 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
283a619a
Parents:
5b46bc3 (diff), f19db54 (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 'master' into feature/pitchshift

File:
1 edited

Legend:

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

    r5b46bc3 r633400d  
    99  fvec_t *out_filters = new_fvec (n_filters); // per-band outputs
    1010
     11  if (new_aubio_filterbank(0, win_s)) return 1;
     12  if (new_aubio_filterbank(n_filters, 0)) return 1;
     13
    1114  // create filterbank object
    1215  aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s);
     16
     17  smpl_t power = aubio_filterbank_get_power(o);
     18  smpl_t norm = aubio_filterbank_get_norm(o);
     19  if (aubio_filterbank_set_power(o, power)) {
     20    return 1;
     21  }
     22  if (aubio_filterbank_set_norm(o, norm)) {
     23    return 1;
     24  }
    1325
    1426  // apply filterbank ten times
Note: See TracChangeset for help on using the changeset viewer.