Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


Wurley.h

00001 /***************************************************/
00031 /***************************************************/
00032 
00033 #ifndef STK_WURLEY_H
00034 #define STK_WURLEY_H
00035 
00036 #include "FM.h"
00037 
00038 class Wurley : public FM
00039 {
00040  public:
00042 
00045   Wurley();
00046 
00048   ~Wurley();
00049 
00051   void setFrequency(StkFloat frequency);
00052 
00054   void noteOn(StkFloat frequency, StkFloat amplitude);
00055 
00057   StkFloat tick();
00058 
00060   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
00061 
00063 
00069   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
00070 };
00071 
00072 #endif

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