Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


BowTable.h

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 
00043 
00047   StkFloat tick( StkFloat input);
00048 
00050   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
00051 
00053 
00059   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
00060 
00061 protected:  
00062   StkFloat offset_;
00063   StkFloat slope_;
00064 
00065 };
00066 
00067 #endif

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