mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
25 lines
610 B
C++
25 lines
610 B
C++
/******************************************/
|
|
/* Singing Voice Synthesis Subclass */
|
|
/* of Algorithm 6 (TX81Z) Subclass of */
|
|
/* 4 Operator FM Synth */
|
|
/* by Perry R. Cook, 1996 */
|
|
/******************************************/
|
|
|
|
#if !defined(__FMVoices_h)
|
|
#define __FMVoices_h
|
|
|
|
#include "FM4Alg6.h"
|
|
|
|
class FMVoices : public FM4Alg6
|
|
{
|
|
protected:
|
|
int currentVowel;
|
|
public:
|
|
FMVoices();
|
|
virtual void setFreq(MY_FLOAT frequency);
|
|
virtual void noteOn(MY_FLOAT freq, MY_FLOAT amp);
|
|
virtual void controlChange(int number, MY_FLOAT value);
|
|
};
|
|
|
|
#endif
|