00001 /* 00002 Copyright (C) 2003 Paul Brossier 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 00018 */ 00019 00020 #ifndef BIQUAD_H 00021 #define BIQUAD_H 00022 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif 00039 00041 typedef struct _aubio_biquad_t aubio_biquad_t; 00042 00049 void aubio_biquad_do(aubio_biquad_t * b, fvec_t * in); 00057 void aubio_biquad_do_filtfilt(aubio_biquad_t * b, fvec_t * in, fvec_t * tmp); 00067 aubio_biquad_t * new_aubio_biquad(lsmp_t b1, lsmp_t b2, lsmp_t b3, lsmp_t a2, lsmp_t a3); 00068 00074 void del_aubio_biquad(aubio_biquad_t * b); 00075 00076 #ifdef __cplusplus 00077 } 00078 #endif 00079 00080 #endif /*BIQUAD_H*/