Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial


Phonemes.h

00001 /***************************************************/
00011 /***************************************************/
00012 
00013 #ifndef STK_PHONEMES_H
00014 #define STK_PHONEMES_H
00015 
00016 #include "Stk.h"
00017 
00018 class Phonemes : public Stk
00019 {
00020 public:
00021 
00022   Phonemes(void);
00023   ~Phonemes(void);
00024 
00026   static const char *name( unsigned int index );
00027 
00029   static StkFloat voiceGain( unsigned int index );
00030 
00032   static StkFloat noiseGain( unsigned int index );
00033 
00035   static StkFloat formantFrequency( unsigned int index, unsigned int partial );
00036 
00038   static StkFloat formantRadius( unsigned int index, unsigned int partial );
00039 
00041   static StkFloat formantGain( unsigned int index, unsigned int partial );
00042 
00043 private:
00044 
00045   static const char phonemeNames[][4];
00046   static const StkFloat phonemeGains[][2];
00047   static const StkFloat phonemeParameters[][4][3];
00048 };
00049 
00050 #endif

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