Changeset f7af440


Ignore:
Timestamp:
Nov 17, 2018, 7:46:51 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:
b41672c
Parents:
62c2d00
Message:

[test] improve coverage of filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/temporal/test-filter.c

    r62c2d00 rf7af440  
    99
    1010  aubio_filter_t *o = new_aubio_filter_c_weighting (44100);
     11
     12  if (aubio_filter_set_c_weighting (o, -1) == 0)
     13    return 1;
     14  if (aubio_filter_set_c_weighting (0, 32000) == 0)
     15    return 1;
     16
    1117  in->data[impulse_at] = 0.5;
    1218  fvec_print (in);
     
    1622
    1723  o = new_aubio_filter_a_weighting (32000);
     24
     25  if (aubio_filter_set_a_weighting (o, -1) == 0)
     26    return 1;
     27  if (aubio_filter_set_a_weighting (0, 32000) == 0)
     28    return 1;
     29
    1830  in->data[impulse_at] = 0.5;
    1931  fvec_print (in);
Note: See TracChangeset for help on using the changeset viewer.