Ignore:
Timestamp:
Dec 4, 2009, 1:47:17 AM (14 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:
f7b05d4
Parents:
4621cd6
Message:

tests/src: switch to mono

File:
1 edited

Legend:

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

    r4621cd6 raea235c  
    88  uint_t nrates = 6;
    99  uint_t samplerate, i = 0;
    10   uint_t channels = 2;
    1110
    1211  for ( samplerate = rates[i]; i < nrates ; i++ ) {
    13     f = new_aubio_filter_c_weighting (channels, samplerate);
     12    f = new_aubio_filter_c_weighting (samplerate);
    1413    del_aubio_filter (f);
    1514
    16     f = new_aubio_filter (5, channels*2);
     15    f = new_aubio_filter (5);
    1716    aubio_filter_set_c_weighting (f, samplerate);
    1817    del_aubio_filter (f);
     
    2019
    2120  // samplerate unknown
    22   f = new_aubio_filter_c_weighting (channels, 4200);
     21  f = new_aubio_filter_c_weighting (4200);
    2322  del_aubio_filter (f);
    2423
    2524  // order to small
    26   f = new_aubio_filter (2, channels*2);
     25  f = new_aubio_filter (2);
    2726  aubio_filter_set_c_weighting (f, samplerate);
    2827  del_aubio_filter (f);
    2928
    3029  // order to big
    31   f = new_aubio_filter (12, channels*2);
     30  f = new_aubio_filter (12);
    3231  aubio_filter_set_c_weighting (f, samplerate);
    3332  del_aubio_filter (f);
Note: See TracChangeset for help on using the changeset viewer.