source:
tests/src/temporal/test-biquad.c
@
d22cc42
Last change on this file since d22cc42 was 02418f6, checked in by , 12 years ago | |
---|---|
|
|
File size: 428 bytes |
Rev | Line | |
---|---|---|
[4e9101e] | 1 | #include <aubio.h> |
2 | ||
3 | int main(){ | |
4 | /* allocate some memory */ | |
5 | uint_t win_s = 1024; /* window size */ | |
[aea235c] | 6 | fvec_t * in = new_fvec (win_s); /* input buffer */ |
7 | aubio_filter_t * o = new_aubio_filter_biquad(0.3,0.2,0.1,0.2,0.3); | |
[4e9101e] | 8 | |
[b01bd4a] | 9 | aubio_filter_do_filtfilt(o,in,in); |
10 | aubio_filter_do(o,in); | |
[4e9101e] | 11 | |
[b01bd4a] | 12 | del_aubio_filter(o); |
[4e9101e] | 13 | del_fvec(in); |
14 | return 0; | |
15 | } |
Note: See TracBrowser
for help on using the repository browser.