Changeset b01bd4a for tests


Ignore:
Timestamp:
Oct 19, 2009, 2:45:13 PM (15 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:
b849106
Parents:
59c046d
Message:

src/temporal: derive biquad from filter, use in peakpicker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/test-biquad.c

    r59c046d rb01bd4a  
    66        uint_t channels   = 1;                          /* number of channel */
    77        fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
    8         aubio_biquad_t * o = new_aubio_biquad(0.3,0.2,0.1,0.2,0.3);
     8        aubio_filter_t * o = new_aubio_filter_biquad(0.3,0.2,0.1,0.2,0.3, channels);
    99
    10         aubio_biquad_do_filtfilt(o,in,in);
    11         aubio_biquad_do(o,in);
     10        aubio_filter_do_filtfilt(o,in,in);
     11        aubio_filter_do(o,in);
    1212
    13         del_aubio_biquad(o);
     13        del_aubio_filter(o);
    1414        del_fvec(in);
    1515        return 0;
Note: See TracChangeset for help on using the changeset viewer.