Home Information Classes Download Usage Mail List Requirements Tutorial
00001 /***************************************************/ 00015 /***************************************************/ 00016 00017 #if !defined(__PRCREV_H) 00018 #define __PRCREV_H 00019 00020 #include "Reverb.h" 00021 #include "Delay.h" 00022 00023 class PRCRev : public Reverb 00024 { 00025 public: 00026 // Class constructor taking a T60 decay time argument. 00027 PRCRev(MY_FLOAT T60); 00028 00029 // Class destructor. 00030 ~PRCRev(); 00031 00033 void clear(); 00034 00036 MY_FLOAT tick(MY_FLOAT input); 00037 00038 protected: 00039 Delay *allpassDelays[2]; 00040 Delay *combDelays[2]; 00041 MY_FLOAT allpassCoefficient; 00042 MY_FLOAT combCoefficient[2]; 00043 00044 }; 00045 00046 #endif 00047
The Synthesis ToolKit in C++ (STK) |
©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |