Home Information Classes Download Usage Mail List Requirements Links Tutorial

# FMVoices.h

    00001 /***************************************************/
    00031 /***************************************************/
    00032
    00033 #if !defined(__FMVOICES_H)
    00034 #define __FMVOICES_H
    00035
    00036 #include "FM.h"
    00037
    00038 class FMVoices : public FM
    00039 {
    00040  public:
    00042   FMVoices();
    00043
    00045   ~FMVoices();
    00046
    00048   virtual void setFrequency(MY_FLOAT frequency);
    00049
    00051   void noteOn(MY_FLOAT frequency, MY_FLOAT amplitude);
    00052
    00054   MY_FLOAT tick();
    00055
    00057   virtual void controlChange(int number, MY_FLOAT value);
    00058
    00059  protected:
    00060   int currentVowel;
    00061   MY_FLOAT tilt[3];
    00062   MY_FLOAT mods[3];
    00063 };
    00064
    00065 #endif

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