7b9c0cfe4e74d457738d258f8b8b1d456f0d1a63
1 //Phonemes datas for voiceForm.dsp
2 //©Romain Michon (rmichon@ccrma.stanford.edu), 2011
5 float loadPhonemeGains(int index0
, int index1
) {
6 static float phonemeGains
[32][2] =
47 return phonemeGains
[index0
][index1
];
50 float loadPhonemeParameters(int index0
, int index1
, int index2
){
51 static float phonemeParameters
[32][4][3] =
52 {{ { 273, 0.996, 10}, // eee (beet)
56 { { 385, 0.987, 10}, // ihh (bit)
60 { { 515, 0.977, 10}, // ehh (bet)
64 { { 773, 0.950, 10}, // aaa (bat)
69 { { 770, 0.950, 0}, // ahh (father)
73 { { 637, 0.910, 0}, // aww (bought)
77 { { 637, 0.910, 0}, // ohh (bone) NOTE:: same as aww (bought)
81 { { 561, 0.965, 0}, // uhh (but)
86 { { 515, 0.976, 0}, // uuu (foot)
90 { { 349, 0.986, -10}, // ooo (boot)
94 { { 394, 0.959, -10}, // rrr (bird)
98 { { 462, 0.990, +5}, // lll (lull)
103 { { 265, 0.987, -10}, // mmm (mom)
107 { { 204, 0.980, -10}, // nnn (nun)
111 { { 204, 0.980, -10}, // nng (sang) NOTE:: same as nnn
115 { { 204, 0.980, -10}, // ngg (bong) NOTE:: same as nnn
120 { {1000, 0.300, 0}, // fff
124 { {0, 0.000, 0}, // sss
128 { { 100, 0.900, 0}, // thh
132 { {2693, 0.940, 0}, // shh
137 { {1000, 0.300, -10}, // xxx NOTE:: Not Really Done Yet
141 { { 273, 0.996, -40}, // hee (beet) (noisy eee)
145 { { 349, 0.986, -40}, // hoo (boot) (noisy ooo)
149 { { 770, 0.950, -40}, // hah (father) (noisy ahh)
154 { {2000, 0.700, -20}, // bbb NOTE:: Not Really Done Yet
158 { { 100, 0.900, 0}, // ddd NOTE:: Not Really Done Yet
162 { {2693, 0.940, 0}, // jjj NOTE:: Not Really Done Yet
166 { {2693, 0.940, 0}, // ggg NOTE:: Not Really Done Yet
171 { {2000, 0.700, -20}, // vvv NOTE:: Not Really Done Yet
175 { { 100, 0.900, 0}, // zzz NOTE:: Not Really Done Yet
179 { {2693, 0.940, 0}, // thz NOTE:: Not Really Done Yet
183 { {2693, 0.940, 0}, // zhh NOTE:: Not Really Done Yet
188 return phonemeParameters
[index0
][index1
][index2
];