Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial

Phonemes.h
1 #ifndef STK_PHONEMES_H
2 #define STK_PHONEMES_H
3
4 #include "Stk.h"
5
6 namespace stk {
7
8 /***************************************************/
18 /***************************************************/
19
20 class Phonemes : public Stk
21 {
22 public:
23
24 Phonemes( void );
25
26 ~Phonemes( void );
27
29 static const char *name( unsigned int index );
30
32 static StkFloat voiceGain( unsigned int index );
33
35 static StkFloat noiseGain( unsigned int index );
36
38 static StkFloat formantFrequency( unsigned int index, unsigned int partial );
39
41 static StkFloat formantRadius( unsigned int index, unsigned int partial );
42
44 static StkFloat formantGain( unsigned int index, unsigned int partial );
45
46 private:
47
48 static const char phonemeNames[][4];
49 static const StkFloat phonemeGains[][2];
50 static const StkFloat phonemeParameters[][4][3];
51 };
52
53 } // stk namespace
54
55 #endif

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