home *** CD-ROM | disk | FTP | other *** search
/ PC Musician 2000 / PC_Musician_2000.iso / PCMUSIC / NOTATION / SILENCE / FMVOICES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  610 b   |  25 lines

  1. /******************************************/
  2. /*  Singing Voice Synthesis Subclass      */
  3. /*  of Algorithm 6 (TX81Z) Subclass of    */ 
  4. /*  4 Operator FM Synth                   */
  5. /*  by Perry R. Cook, 1996                */ 
  6. /******************************************/
  7.  
  8. #if !defined(__FMVoices_h)
  9. #define __FMVoices_h
  10.  
  11. #include "FM4Alg6.h"
  12.  
  13. class FMVoices : public FM4Alg6
  14. {
  15.   protected:
  16.     int currentVowel;
  17.   public:
  18.     FMVoices();
  19.     virtual void setFreq(MY_FLOAT frequency);
  20.     virtual void noteOn(MY_FLOAT freq, MY_FLOAT amp);
  21.     virtual void controlChange(int number, MY_FLOAT value);
  22. };
  23.  
  24. #endif
  25.