Changeset be8b18b


Ignore:
Timestamp:
Nov 17, 2018, 2:18:38 PM (6 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
Children:
c853c1d
Parents:
a380b73
Message:

[tests] [filterbank] add get/set power/norm calls

File:
1 edited

Legend:

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

    ra380b73 rbe8b18b  
    1111  // create filterbank object
    1212  aubio_filterbank_t *o = new_aubio_filterbank (n_filters, win_s);
     13
     14  smpl_t power = aubio_filterbank_get_power(o);
     15  smpl_t norm = aubio_filterbank_get_norm(o);
     16  if (aubio_filterbank_set_power(o, power)) {
     17    return 1;
     18  }
     19  if (aubio_filterbank_set_norm(o, norm)) {
     20    return 1;
     21  }
    1322
    1423  // apply filterbank ten times
Note: See TracChangeset for help on using the changeset viewer.