ref: 34eee42b04b1477a98d8a303f947eb8d8fbaecd1
dir: /src/temporal/cdesign.h/
/*
Copyright (C) 2003-2007 Paul Brossier
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _CDESIGN_H
#define _CDESIGN_H
/** \file
Create a new C-design filter
This file creates an IIR filter object with A-design coefficients.
*/
#ifdef __cplusplus
extern "C" {
#endif
/** create new C-design filter
\param samplerate sampling-rate of the signal to filter
\param channels number of channels to allocate
*/
aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate, uint_t channels);
/** filter input vector (in-place) */
#define aubio_cdsgn_filter_do aubio_filter_do
/** delete c-design filter object */
#define del_aubio_cdsgn_filter del_aubio_filter
#ifdef __cplusplus
}
#endif
#endif /* _CDESIGN_H */