Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00023 /***************************************************/ 00024 00025 #if !defined(__DelayA_h) 00026 #define __DelayA_h 00027 00028 #include "Delay.h" 00029 00030 class DelayA : public Delay 00031 { 00032 public: 00033 00035 DelayA(); 00036 00038 00039 DelayA(MY_FLOAT theDelay, long maxDelay); 00040 00042 ~DelayA(); 00043 00045 void clear(); 00046 00048 00051 void setDelay(MY_FLOAT theDelay); 00052 00054 MY_FLOAT getDelay(void); 00055 00057 00060 MY_FLOAT nextOut(void); 00061 00063 MY_FLOAT tick(MY_FLOAT sample); 00064 00065 protected: 00066 MY_FLOAT alpha; 00067 MY_FLOAT coeff; 00068 MY_FLOAT apInput; 00069 MY_FLOAT nextOutput; 00070 bool doNextOut; 00071 }; 00072 00073 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |