Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 #ifndef STK_PHONEMES_H 00002 #define STK_PHONEMES_H 00003 00004 #include "Stk.h" 00005 00006 namespace stk { 00007 00008 /***************************************************/ 00018 /***************************************************/ 00019 00020 class Phonemes : public Stk 00021 { 00022 public: 00023 00024 Phonemes(void); 00025 ~Phonemes(void); 00026 00028 static const char *name( unsigned int index ); 00029 00031 static StkFloat voiceGain( unsigned int index ); 00032 00034 static StkFloat noiseGain( unsigned int index ); 00035 00037 static StkFloat formantFrequency( unsigned int index, unsigned int partial ); 00038 00040 static StkFloat formantRadius( unsigned int index, unsigned int partial ); 00041 00043 static StkFloat formantGain( unsigned int index, unsigned int partial ); 00044 00045 private: 00046 00047 static const char phonemeNames[][4]; 00048 static const StkFloat phonemeGains[][2]; 00049 static const StkFloat phonemeParameters[][4][3]; 00050 }; 00051 00052 } // stk namespace 00053 00054 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2010 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |