Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00018 /***************************************************/ 00019 00020 #ifndef STK_REEDTABLE_H 00021 #define STK_REEDTABLE_H 00022 00023 #include "Function.h" 00024 00025 class ReedTable : public Function 00026 { 00027 public: 00029 ReedTable(); 00030 00032 ~ReedTable(); 00033 00035 00040 void setOffset(StkFloat offset); 00041 00043 00048 void setSlope(StkFloat slope); 00049 00051 00055 StkFloat tick(StkFloat input); 00056 00058 StkFloat *tick( StkFloat *vector, unsigned int vectorSize ); 00059 00061 00067 StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00068 00069 protected: 00070 StkFloat offset_; 00071 StkFloat slope_; 00072 00073 }; 00074 00075 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |