Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial


DelayL.h

00001 /***************************************************/
00023 /***************************************************/
00024 
00025 #ifndef STK_DELAYL_H
00026 #define STK_DELAYL_H
00027 
00028 #include "Delay.h"
00029 
00030 class DelayL : public Delay
00031 {
00032 public:
00033 
00035   DelayL();
00036 
00038 
00043   DelayL(StkFloat delay, unsigned long maxDelay);
00044 
00046   ~DelayL();
00047 
00049 
00052   void setDelay(StkFloat delay);
00053 
00055   StkFloat getDelay(void) const;
00056 
00058 
00061   StkFloat nextOut(void);
00062 
00063  protected:
00064 
00065   StkFloat computeSample( StkFloat input );
00066 
00067   StkFloat alpha_;
00068   StkFloat omAlpha_;
00069   StkFloat nextOutput_;
00070   bool doNextOut_;
00071 };
00072 
00073 #endif

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