Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00015 /***************************************************/ 00016 00017 #ifndef STK_JCREV_H 00018 #define STK_JCREV_H 00019 00020 #include "Effect.h" 00021 #include "Delay.h" 00022 00023 class JCRev : public Effect 00024 { 00025 public: 00027 JCRev( StkFloat T60 = 1.0 ); 00028 00030 ~JCRev(); 00031 00033 void clear(); 00034 00036 void setT60( StkFloat T60 ); 00037 00038 protected: 00039 00040 StkFloat computeSample( StkFloat input ); 00041 00042 Delay allpassDelays_[3]; 00043 Delay combDelays_[4]; 00044 Delay outLeftDelay_; 00045 Delay outRightDelay_; 00046 StkFloat allpassCoefficient_; 00047 StkFloat combCoefficient_[4]; 00048 00049 }; 00050 00051 #endif 00052
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |