Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00031 /***************************************************/ 00032 00033 #ifndef STK_FMVOICES_H 00034 #define STK_FMVOICES_H 00035 00036 #include "FM.h" 00037 00038 class FMVoices : public FM 00039 { 00040 public: 00042 00045 FMVoices(); 00046 00048 ~FMVoices(); 00049 00051 virtual void setFrequency(StkFloat frequency); 00052 00054 void noteOn(StkFloat frequency, StkFloat amplitude); 00055 00057 virtual void controlChange(int number, StkFloat value); 00058 00059 protected: 00060 00061 StkFloat computeSample( void ); 00062 00063 int currentVowel_; 00064 StkFloat tilt_[3]; 00065 StkFloat mods_[3]; 00066 }; 00067 00068 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |