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

  1. /******************************************/
  2. /*  Algorithm 6 (TX81Z) Subclass of       */ 
  3. /*  4 Operator FM Synth                   */
  4. /*  by Perry R. Cook, 1995-96             */ 
  5. /*  This connection topology is three     */
  6. /*  Carriers and a common Modulator       */
  7. /*                                        */
  8. /*                /->1 -\                 */
  9. /*             4-|-->2 - +-> Out          */
  10. /*                \->3 -/                 */
  11. /*                                        */
  12. /*  Controls: control1 = vowel            */
  13. /*            control2 = spectral tilt    */
  14. /*            control3 = LFO speed        */
  15. /*            modWheel = LFO amount       */
  16. /*                                        */
  17. /******************************************/
  18.  
  19. #if !defined(__FM4Alg6_h)
  20. #define __FM4Alg6_h
  21.  
  22. #include "FM4Op.h"
  23.  
  24. class FM4Alg6 : public FM4Op
  25. {
  26.   protected:
  27.     MY_FLOAT tilt[3];
  28.     MY_FLOAT mods[3];
  29.   public:
  30.     FM4Alg6();
  31.     MY_FLOAT tick();
  32.     virtual void controlChange(int number, MY_FLOAT value);
  33. };
  34.  
  35. #endif
  36.