Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


OneZero.h

00001 /***************************************************/
00013 /***************************************************/
00014 
00015 #ifndef STK_ONEZERO_H
00016 #define STK_ONEZERO_H
00017 
00018 #include "Filter.h"
00019 
00020 class OneZero : protected Filter
00021 {
00022  public:
00023 
00025   OneZero();
00026 
00028   OneZero(StkFloat theZero);
00029 
00031   ~OneZero();
00032 
00034   void clear(void);
00035 
00037   void setB0(StkFloat b0);
00038 
00040   void setB1(StkFloat b1);
00041 
00043 
00050   void setZero(StkFloat theZero);
00051 
00053 
00057   void setGain(StkFloat gain);
00058 
00060   StkFloat getGain(void) const;
00061 
00063   StkFloat lastOut(void) const;
00064 
00066   StkFloat tick(StkFloat sample);
00067 
00069   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
00070 
00072 
00078   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
00079 
00080 };
00081 
00082 #endif

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