Home Information Classes Download Usage Mail List Requirements Links 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 00039 StkFloat tick(StkFloat input); 00040 00042 StkFloat *tick( StkFloat *vector, unsigned int vectorSize ); 00043 00045 00051 StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00052 00053 protected: 00054 Delay allpassDelays_[3]; 00055 Delay combDelays_[4]; 00056 Delay outLeftDelay_; 00057 Delay outRightDelay_; 00058 StkFloat allpassCoefficient_; 00059 StkFloat combCoefficient_[4]; 00060 00061 }; 00062 00063 #endif 00064
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |