Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   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 
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_[2];
00055   Delay combDelays_[2];
00056   StkFloat allpassCoefficient_;
00057   StkFloat combCoefficient_[2];
00058 
00059 };
00060 
00061 #endif
00062 

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