Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

jezabelvariableshelfeq.h

00001 /*
00002    
00003    Copyright 2002 Kenneth L. McMillan
00004 
00005    This software is made available under the terms of the GNU General
00006    public license (GPL), version 2, or any later version published by
00007    the Free Software Foundation, at your option. You chould have
00008    received a copy of this license along with the software. If not,
00009    please contact the Free Software Foundation, Inc.  59 Temple Place,
00010    Suite 330, Boston, MA 02111-1307 USA.
00011 
00012    Reproduction, modification or other use of this software except
00013    under the terms of the GPL is prohibited.
00014 
00015 
00016 */
00017 
00018 #ifndef JezabelVariableShelfEQ_INCLUDED
00019 #define JezabelVariableShelfEQ_INCLUDED
00020 
00021 #include <jezabelfilter.h>
00022 
00023 template<class data> class MJ_FilterIIR2;
00024 
00025 typedef MJ_FilterIIR2<JezabelData> FilterIIR2;
00026 
00027 #include <qstring.h>
00028 #include <complex.h>
00029 
00054 class JezabelVariableShelfEQ : public JezabelFilter {
00055 
00056   Q_OBJECT
00057     
00058  public:
00060   JezabelVariableShelfEQ(int N,
00061                          char *name,
00062                          QWidget *parent = 0, 
00063                          bool noControls = false);
00064   JezabelTool *getTool();
00065   complex<float> response(complex<float>);
00066   
00067 
00068   virtual void makeControls(char *name);
00069   int N;
00070   float *gains, *centers;
00071   float loGain;
00072   FilterIIR2 **filters;
00073   
00074   public slots:
00075     void parametersChanged(QString);
00076 
00077 };
00078 
00086 #endif

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001