Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00010 /***************************************************/ 00011 00012 #ifndef STK_BOWTABL_H 00013 #define STK_BOWTABL_H 00014 00015 #include "Function.h" 00016 00017 class BowTable : public Function 00018 { 00019 public: 00021 BowTable(); 00022 00024 ~BowTable(); 00025 00027 00033 void setOffset(StkFloat offset); 00034 00036 00040 void setSlope(StkFloat slope); 00041 00042 protected: 00043 00044 StkFloat computeSample( StkFloat input ); 00045 00046 StkFloat offset_; 00047 StkFloat slope_; 00048 00049 }; 00050 00051 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |