Home Information Classes Download Usage Mail List Requirements Links FAQ 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 00040 protected: 00041 00042 StkFloat computeSample( StkFloat input ); 00043 00044 Delay allpassDelays_[8]; 00045 Delay combDelays_[6]; 00046 StkFloat allpassCoefficient_; 00047 StkFloat combCoefficient_[6]; 00048 StkFloat lowpassState_; 00049 00050 }; 00051 00052 #endif 00053
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |