2 ZynAddSubFX - a software synthesizer
4 Filter.h - Filters, uses analog,formant,etc. filters
5 Copyright (C) 2002-2005 Nasca Octavian Paul
6 Author: Nasca Octavian Paul
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of version 2 of the GNU General Public License
10 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License (version 2) for more details.
17 You should have received a copy of the GNU General Public License (version 2)
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 void init(float sample_rate
, FilterParams
*pars
);
34 void filterout(float *smp
);
35 void setfreq(float frequency
);
36 void setfreq_and_q(float frequency
, float q_
);
39 float getrealfreq(float freqpitch
);
43 unsigned char m_category
;
45 AnalogFilter m_analog_filter
;
47 FormantFilter m_formant_filter
;