Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00017 /***************************************************/ 00018 00019 #ifndef STK_NREV_H 00020 #define STK_NREV_H 00021 00022 #include "Effect.h" 00023 #include "Delay.h" 00024 00025 class NRev : public Effect 00026 { 00027 public: 00029 NRev( StkFloat T60 = 1.0 ); 00030 00032 ~NRev(); 00033 00035 void clear(); 00036 00038 void setT60( StkFloat T60 ); 00039 00041 StkFloat tick(StkFloat input); 00042 00044 StkFloat *tick( StkFloat *vector, unsigned int vectorSize ); 00045 00047 00053 StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00054 00055 protected: 00056 Delay allpassDelays_[8]; 00057 Delay combDelays_[6]; 00058 StkFloat allpassCoefficient_; 00059 StkFloat combCoefficient_[6]; 00060 StkFloat lowpassState_; 00061 00062 }; 00063 00064 #endif 00065
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |