Home Information Classes Download Usage Mail List Requirements Links Tutorial

# DelayL.h

    00001 /***************************************************/
    00023 /***************************************************/
    00024
    00025 #if !defined(__DELAYL_H)
    00026 #define __DELAYL_H
    00027
    00028 #include "Delay.h"
    00029
    00030 class DelayL : public Delay
    00031 {
    00032 public:
    00033
    00035   DelayL();
    00036
    00038
    00039   DelayL(MY_FLOAT theDelay, long maxDelay);
    00040
    00042   ~DelayL();
    00043
    00045
    00048   void setDelay(MY_FLOAT theDelay);
    00049
    00051   MY_FLOAT getDelay(void) const;
    00052
    00054
    00057   MY_FLOAT nextOut(void);
    00058
    00060   MY_FLOAT tick(MY_FLOAT sample);
    00061
    00062  protected:
    00063   MY_FLOAT alpha;
    00064   MY_FLOAT omAlpha;
    00065   MY_FLOAT nextOutput;
    00066   bool doNextOut;
    00067 };
    00068
    00069 #endif

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