Home   Information   Classes   Download   Usage   Mail List   Requirements   Tutorial


DelayA.h

00001 /***************************************************/
00023 /***************************************************/
00024 
00025 #if !defined(__DelayA_h)
00026 #define __DelayA_h
00027 
00028 #include "Delay.h"
00029 
00030 class DelayA : public Delay
00031 {
00032 public:
00033 
00035   DelayA();
00036 
00038   
00039   DelayA(MY_FLOAT theDelay, long maxDelay);
00040 
00042   ~DelayA();
00043 
00045   void clear();
00046 
00048 
00051   void setDelay(MY_FLOAT theDelay);
00052 
00054   MY_FLOAT getDelay(void);
00055 
00057   MY_FLOAT tick(MY_FLOAT sample);
00058 
00059 protected:  
00060     MY_FLOAT alpha;
00061     MY_FLOAT coeff;
00062     MY_FLOAT apInput;
00063 };
00064 
00065 #endif

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