Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00024 /***************************************************/ 00025 00026 #ifndef STK_ASYMP_H 00027 #define STK_ASYMP_H 00028 00029 #include "Envelope.h" 00030 00031 const StkFloat TARGET_THRESHOLD = 0.000001; 00032 00033 class Asymp : public Envelope 00034 { 00035 public: 00036 00038 Asymp(void); 00039 00041 ~Asymp(void); 00042 00044 void keyOn(void); 00045 00047 void keyOff(void); 00048 00050 00056 void setTau(StkFloat tau); 00057 00059 void setTime(StkFloat time); 00060 00062 void setTarget(StkFloat target); 00063 00065 StkFloat tick(void); 00066 00068 StkFloat *tick( StkFloat *vector, unsigned int vectorSize ); 00069 00071 00077 StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00078 00079 protected: 00080 StkFloat factor_; 00081 StkFloat constant_; 00082 }; 00083 00084 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |