Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00023 /***************************************************/ 00024 00025 #ifndef STK_DELAYL_H 00026 #define STK_DELAYL_H 00027 00028 #include "Delay.h" 00029 00030 class DelayL : public Delay 00031 { 00032 public: 00033 00035 DelayL(); 00036 00038 00043 DelayL(StkFloat delay, unsigned long maxDelay); 00044 00046 ~DelayL(); 00047 00049 00052 void setDelay(StkFloat delay); 00053 00055 StkFloat getDelay(void) const; 00056 00058 00061 StkFloat nextOut(void); 00062 00064 StkFloat tick(StkFloat sample); 00065 00067 virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize); 00068 00070 00076 virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00077 00078 protected: 00079 StkFloat alpha_; 00080 StkFloat omAlpha_; 00081 StkFloat nextOutput_; 00082 bool doNextOut_; 00083 }; 00084 00085 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |