Ignore:
Timestamp:
Oct 27, 2013, 12:44:29 PM (11 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:
8247249
Parents:
dd15573 (diff), 7fc5ba2 (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 'develop' of aubio.org:/git/aubio/aubio into wavetable

File:
1 edited

Legend:

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

    rdd15573 rdc467b5d  
    33int main ()
    44{
    5   uint_t win_s = 32; // window size
     5  uint_t win_s = 16; // window size
     6  uint_t impulse_at = win_s / 2;
    67  fvec_t *in = new_fvec (win_s); // input buffer
    78  fvec_t *out = new_fvec (win_s); // input buffer
    89
    910  aubio_filter_t *o = new_aubio_filter_c_weighting (44100);
    10   in->data[12] = 0.5;
     11  in->data[impulse_at] = 0.5;
    1112  fvec_print (in);
    1213  aubio_filter_do (o, in);
     
    1516
    1617  o = new_aubio_filter_a_weighting (32000);
    17   in->data[12] = 0.5;
     18  in->data[impulse_at] = 0.5;
    1819  fvec_print (in);
    1920  aubio_filter_do_outplace (o, in, out);
     
    2122
    2223  aubio_filter_set_a_weighting (o, 32000);
    23   in->data[12] = 0.5;
     24  in->data[impulse_at] = 0.5;
    2425  fvec_print (in);
    2526  aubio_filter_do_filtfilt (o, in, out);
Note: See TracChangeset for help on using the changeset viewer.