~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to synti/stklib/FMVoices.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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