Home   Information   Classes   Download   Usage   Mail List   Requirements   Tutorial


OneZero.h

00001 /***************************************************/
00013 /***************************************************/
00014 
00015 #if !defined(__ONEZERO_H)
00016 #define __ONEZERO_H
00017 
00018 #include "Filter.h"
00019 
00020 class OneZero : protected Filter
00021 {
00022  public:
00023 
00025   OneZero();
00026 
00028   OneZero(MY_FLOAT theZero);
00029 
00031   ~OneZero();
00032 
00034   void clear(void);
00035 
00037   void setB0(MY_FLOAT b0);
00038 
00040   void setB1(MY_FLOAT b1);
00041 
00043 
00050   void setZero(MY_FLOAT theZero);
00051 
00053 
00057   void setGain(MY_FLOAT theGain);
00058 
00060   MY_FLOAT getGain(void) const;
00061 
00063   MY_FLOAT lastOut(void) const;
00064 
00066   MY_FLOAT tick(MY_FLOAT sample);
00067 
00069   MY_FLOAT *tick(MY_FLOAT *vector, unsigned int vectorSize);
00070 };
00071 
00072 #endif

The Synthesis ToolKit in C++ (STK)
©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.