Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial


PRCRev.h

00001 /***************************************************/
00015 /***************************************************/
00016 
00017 #ifndef STK_PRCREV_H
00018 #define STK_PRCREV_H
00019 
00020 #include "Effect.h" 
00021 #include "Delay.h" 
00022 
00023 class PRCRev : public Effect
00024 {
00025 public:
00027   PRCRev( StkFloat T60 = 1.0 );
00028 
00030   ~PRCRev();
00031 
00033   void clear();
00034 
00036   void setT60( StkFloat T60 );
00037 
00038 protected:
00039 
00040   StkFloat computeSample( StkFloat input );
00041 
00042   Delay allpassDelays_[2];
00043   Delay combDelays_[2];
00044   StkFloat allpassCoefficient_;
00045   StkFloat combCoefficient_[2];
00046 
00047 };
00048 
00049 #endif
00050 

The Synthesis ToolKit in C++ (STK)
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.