Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


JCRev.h

00001 /***************************************************/
00015 /***************************************************/
00016 
00017 #if !defined(__JCREV_H)
00018 #define __JCREV_H
00019 
00020 #include "Reverb.h"
00021 #include "Delay.h" 
00022 
00023 class JCRev : public Reverb
00024 {
00025  public:
00027   JCRev(MY_FLOAT T60);
00028 
00030   ~JCRev();
00031 
00033   void clear();
00034 
00036   MY_FLOAT tick(MY_FLOAT input);
00037 
00038  protected:
00039   Delay *allpassDelays[3];
00040   Delay *combDelays[4];
00041   Delay *outLeftDelay;
00042   Delay *outRightDelay;
00043   MY_FLOAT allpassCoefficient;
00044   MY_FLOAT combCoefficient[4];
00045 
00046 };
00047 
00048 #endif
00049 

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