Changeset c159aeb for tests


Ignore:
Timestamp:
Sep 29, 2009, 7:58:03 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
a253fd4
Parents:
a4364b8
Message:

src/temporal: rename adesign/adsgn to a_weighting, idem for c_weighting

Location:
tests/src
Files:
3 edited

Legend:

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

    ra4364b8 rc159aeb  
    1111
    1212  for ( samplerate = rates[i]; i < nrates ; i++ ) {
    13     f = new_aubio_filter_adsgn (samplerate, channels);
     13    f = new_aubio_filter_a_weighting (samplerate, channels);
    1414    del_aubio_filter (f);
    1515
    1616    f = new_aubio_filter (samplerate, 7, channels*2);
    17     aubio_filter_set_adsgn (f);
     17    aubio_filter_set_a_weighting (f);
    1818    del_aubio_filter (f);
    1919  }
    2020
    2121  // samplerate unknown
    22   f = new_aubio_filter_adsgn (12089, channels);
     22  f = new_aubio_filter_a_weighting (12089, channels);
    2323  del_aubio_filter (f);
    2424
    2525  // order to small
    2626  f = new_aubio_filter (samplerate, 2, channels*2);
    27   aubio_filter_set_adsgn (f);
     27  aubio_filter_set_a_weighting (f);
    2828  del_aubio_filter (f);
    2929
    3030  // order to big
    3131  f = new_aubio_filter (samplerate, 12, channels*2);
    32   aubio_filter_set_adsgn (f);
     32  aubio_filter_set_a_weighting (f);
    3333  del_aubio_filter (f);
    3434
  • tests/src/temporal/test-cweighting.c

    ra4364b8 rc159aeb  
    1111
    1212  for ( samplerate = rates[i]; i < nrates ; i++ ) {
    13     f = new_aubio_filter_cdsgn (samplerate, channels);
     13    f = new_aubio_filter_c_weighting (samplerate, channels);
    1414    del_aubio_filter (f);
    1515
    1616    f = new_aubio_filter (samplerate, 5, channels*2);
    17     aubio_filter_set_cdsgn (f);
     17    aubio_filter_set_c_weighting (f);
    1818    del_aubio_filter (f);
    1919  }
    2020
    2121  // samplerate unknown
    22   f = new_aubio_filter_cdsgn (12089, channels);
     22  f = new_aubio_filter_c_weighting (12089, channels);
    2323  del_aubio_filter (f);
    2424
    2525  // order to small
    2626  f = new_aubio_filter (samplerate, 2, channels*2);
    27   aubio_filter_set_cdsgn (f);
     27  aubio_filter_set_c_weighting (f);
    2828  del_aubio_filter (f);
    2929
    3030  // order to big
    3131  f = new_aubio_filter (samplerate, 12, channels*2);
    32   aubio_filter_set_cdsgn (f);
     32  aubio_filter_set_c_weighting (f);
    3333  del_aubio_filter (f);
    3434
  • tests/src/test-filter.c

    ra4364b8 rc159aeb  
    99 
    1010        /* allocate fft and other memory space */
    11         aubio_filter_t * o = new_aubio_filter_cdsgn (44100, channels);
     11        aubio_filter_t * o = new_aubio_filter_c_weighting (44100, channels);
    1212
    1313        aubio_filter_do(o,in);
Note: See TracChangeset for help on using the changeset viewer.