Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00013 /***************************************************/ 00014 00015 #ifndef STK_TWOZERO_H 00016 #define STK_TWOZERO_H 00017 00018 #include "Filter.h" 00019 00020 class TwoZero : protected Filter 00021 { 00022 public: 00024 TwoZero(); 00025 00027 ~TwoZero(); 00028 00030 void clear(void); 00031 00033 void setB0(StkFloat b0); 00034 00036 void setB1(StkFloat b1); 00037 00039 void setB2(StkFloat b2); 00040 00042 00052 void setNotch(StkFloat frequency, StkFloat radius); 00053 00055 00059 void setGain(StkFloat gain); 00060 00062 StkFloat getGain(void) const; 00063 00065 StkFloat lastOut(void) const; 00066 00068 StkFloat tick(StkFloat sample); 00069 00071 00077 StkFrames& tick( StkFrames& frames, unsigned int channel = 0 ); 00078 }; 00079 00080 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |