shithub: aubio

ref: fcacd8893784a2e7d41a615be168b4f186d87368
dir: /src/temporal/adesign.h/

View raw version
/*
   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.

*/

/** \file

  Create a new A-design filter 

  This file creates an IIR filter object with A-design coefficients.

*/

/** create new A-design filter

  \param samplerate sampling-rate of the signal to filter 
  \param channels number of channels to allocate

*/
aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate, uint_t channels);

/** filter input vector (in-place) */
#define aubio_adsgn_filter_do aubio_filter_do
/** delete a-design filter object */
#define del_aubio_adsgn_filter del_aubio_filter