| 1 |
/*****************************************************/ |
| 2 |
/** Autogenerated clustergen voice for cmu_us_slt */ |
| 3 |
/*****************************************************/ |
| 4 |
|
| 5 |
#include "cst_string.h" |
| 6 |
#include "cst_cg.h" |
| 7 |
#include "cst_cart.h" |
| 8 |
|
| 9 |
extern const cst_cart * const cmu_us_slt_single_f0_carts[]; |
| 10 |
extern const cst_cart cmu_us_slt_spamf0_phrase_cart; |
| 11 |
extern const cst_cart cmu_us_slt_spamf0_accent_cart; |
| 12 |
extern const float * const cmu_us_slt_spamf0_accent_vectors[]; |
| 13 |
#define cmu_us_slt_spamf0_accent_num_channels 8 |
| 14 |
#define cmu_us_slt_spamf0_accent_num_frames 93 |
| 15 |
|
| 16 |
extern const cst_cart * const cmu_us_slt_single_mcep_carts[]; |
| 17 |
#define cmu_us_slt_single_num_channels 114 |
| 18 |
#define cmu_us_slt_single_num_frames 8873 |
| 19 |
extern const unsigned short * const cmu_us_slt_single_model_vectors[]; |
| 20 |
extern const dur_stat * const cmu_us_slt_dur_stats[]; |
| 21 |
extern const cst_cart cmu_us_slt_dur_cart; |
| 22 |
extern const char * const *cmu_us_slt_phone_states[]; |
| 23 |
|
| 24 |
const char * const cmu_us_slt_types[] = { |
| 25 |
"zh_204", |
| 26 |
"zh_205", |
| 27 |
"zh_206", |
| 28 |
"oy_131", |
| 29 |
"oy_132", |
| 30 |
"oy_133", |
| 31 |
"ch_41", |
| 32 |
"ch_42", |
| 33 |
"ch_43", |
| 34 |
"aw_21", |
| 35 |
"aw_22", |
| 36 |
"aw_23", |
| 37 |
"ow_126", |
| 38 |
"ow_127", |
| 39 |
"ow_128", |
| 40 |
"b_36", |
| 41 |
"b_37", |
| 42 |
"b_38", |
| 43 |
"g_76", |
| 44 |
"g_77", |
| 45 |
"g_78", |
| 46 |
"ng_121", |
| 47 |
"ng_122", |
| 48 |
"ng_123", |
| 49 |
"uw_179", |
| 50 |
"uw_180", |
| 51 |
"uw_181", |
| 52 |
"sh_156", |
| 53 |
"sh_157", |
| 54 |
"sh_158", |
| 55 |
"uh_174", |
| 56 |
"uh_175", |
| 57 |
"uh_176", |
| 58 |
"hh_81", |
| 59 |
"hh_82", |
| 60 |
"hh_83", |
| 61 |
"ae_6", |
| 62 |
"ae_7", |
| 63 |
"ae_8", |
| 64 |
"y_194", |
| 65 |
"y_195", |
| 66 |
"y_196", |
| 67 |
"k_101", |
| 68 |
"k_102", |
| 69 |
"k_103", |
| 70 |
"aa_1", |
| 71 |
"aa_2", |
| 72 |
"aa_3", |
| 73 |
"ay_31", |
| 74 |
"ay_32", |
| 75 |
"ay_33", |
| 76 |
"w_189", |
| 77 |
"w_190", |
| 78 |
"w_191", |
| 79 |
"m_111", |
| 80 |
"m_112", |
| 81 |
"m_113", |
| 82 |
"pau_143", |
| 83 |
"ao_16", |
| 84 |
"ao_17", |
| 85 |
"ao_18", |
| 86 |
"th_169", |
| 87 |
"th_170", |
| 88 |
"th_171", |
| 89 |
"ah_11", |
| 90 |
"ah_12", |
| 91 |
"ah_13", |
| 92 |
"v_184", |
| 93 |
"v_185", |
| 94 |
"v_186", |
| 95 |
"dh_51", |
| 96 |
"dh_52", |
| 97 |
"dh_53", |
| 98 |
"d_46", |
| 99 |
"d_47", |
| 100 |
"d_48", |
| 101 |
"n_116", |
| 102 |
"n_117", |
| 103 |
"n_118", |
| 104 |
"jh_96", |
| 105 |
"jh_97", |
| 106 |
"jh_98", |
| 107 |
"r_146", |
| 108 |
"r_147", |
| 109 |
"r_148", |
| 110 |
"ey_66", |
| 111 |
"ey_67", |
| 112 |
"ey_68", |
| 113 |
"f_71", |
| 114 |
"f_72", |
| 115 |
"f_73", |
| 116 |
"ih_86", |
| 117 |
"ih_87", |
| 118 |
"ih_88", |
| 119 |
"p_136", |
| 120 |
"p_137", |
| 121 |
"p_138", |
| 122 |
"iy_91", |
| 123 |
"iy_92", |
| 124 |
"iy_93", |
| 125 |
"l_106", |
| 126 |
"l_107", |
| 127 |
"l_108", |
| 128 |
"z_199", |
| 129 |
"z_200", |
| 130 |
"z_201", |
| 131 |
"pau_161", |
| 132 |
"s_151", |
| 133 |
"s_152", |
| 134 |
"s_153", |
| 135 |
"eh_56", |
| 136 |
"eh_57", |
| 137 |
"eh_58", |
| 138 |
"t_164", |
| 139 |
"t_165", |
| 140 |
"t_166", |
| 141 |
"er_61", |
| 142 |
"er_62", |
| 143 |
"er_63", |
| 144 |
"ax_26", |
| 145 |
"ax_27", |
| 146 |
"ax_28", |
| 147 |
"pau_141", |
| 148 |
"pau_142", |
| 149 |
NULL}; |
| 150 |
#define cmu_us_slt_num_types 124 |
| 151 |
|
| 152 |
const float cmu_us_slt_model_min[] = { |
| 153 |
-0.037037, |
| 154 |
0.000000, |
| 155 |
1.020280, |
| 156 |
0.061370, |
| 157 |
-1.649820, |
| 158 |
0.065470, |
| 159 |
-1.180900, |
| 160 |
0.066549, |
| 161 |
-0.536839, |
| 162 |
0.059870, |
| 163 |
-1.633860, |
| 164 |
0.060759, |
| 165 |
-0.338413, |
| 166 |
0.064708, |
| 167 |
-1.174020, |
| 168 |
0.052442, |
| 169 |
-0.556705, |
| 170 |
0.046337, |
| 171 |
-0.886744, |
| 172 |
0.048091, |
| 173 |
-0.530488, |
| 174 |
0.047197, |
| 175 |
-0.820222, |
| 176 |
0.060131, |
| 177 |
-0.500468, |
| 178 |
0.052693, |
| 179 |
-0.646078, |
| 180 |
0.052642, |
| 181 |
-0.401984, |
| 182 |
0.046195, |
| 183 |
-0.624722, |
| 184 |
0.050729, |
| 185 |
-0.435684, |
| 186 |
0.048360, |
| 187 |
-0.547262, |
| 188 |
0.040524, |
| 189 |
-0.405866, |
| 190 |
0.046975, |
| 191 |
-0.417949, |
| 192 |
0.041868, |
| 193 |
-0.248979, |
| 194 |
0.039230, |
| 195 |
-0.431862, |
| 196 |
0.043537, |
| 197 |
-0.222744, |
| 198 |
0.043704, |
| 199 |
-0.350512, |
| 200 |
0.038664, |
| 201 |
-0.181736, |
| 202 |
0.033471, |
| 203 |
-0.377817, |
| 204 |
0.050875, |
| 205 |
-1.063370, |
| 206 |
0.022907, |
| 207 |
-0.587571, |
| 208 |
0.026545, |
| 209 |
-0.713087, |
| 210 |
0.029384, |
| 211 |
-0.302452, |
| 212 |
0.027856, |
| 213 |
-0.405558, |
| 214 |
0.028860, |
| 215 |
-0.167605, |
| 216 |
0.027246, |
| 217 |
-0.260638, |
| 218 |
0.029115, |
| 219 |
-0.152630, |
| 220 |
0.027202, |
| 221 |
-0.225639, |
| 222 |
0.026638, |
| 223 |
-0.167163, |
| 224 |
0.021044, |
| 225 |
-0.195574, |
| 226 |
0.026420, |
| 227 |
-0.152154, |
| 228 |
0.024953, |
| 229 |
-0.158776, |
| 230 |
0.025161, |
| 231 |
-0.161874, |
| 232 |
0.024460, |
| 233 |
-0.125389, |
| 234 |
0.025433, |
| 235 |
-0.124325, |
| 236 |
0.022131, |
| 237 |
-0.085163, |
| 238 |
0.021243, |
| 239 |
-0.098704, |
| 240 |
0.021427, |
| 241 |
-0.062391, |
| 242 |
0.020743, |
| 243 |
-0.081857, |
| 244 |
0.021790, |
| 245 |
-0.087536, |
| 246 |
0.021880, |
| 247 |
-0.070394, |
| 248 |
0.019421, |
| 249 |
-0.052995, |
| 250 |
0.020659, |
| 251 |
-0.057187, |
| 252 |
0.017595, |
| 253 |
-0.077374, |
| 254 |
0.024058, |
| 255 |
0.014410, |
| 256 |
0.000376, |
| 257 |
0.146234, |
| 258 |
0.004198, |
| 259 |
0.177392, |
| 260 |
0.029631, |
| 261 |
0.167053, |
| 262 |
0.062498, |
| 263 |
0.169124, |
| 264 |
0.016867, |
| 265 |
0.000000, |
| 266 |
0.000000, |
| 267 |
}; |
| 268 |
const float cmu_us_slt_model_range[] = { |
| 269 |
221.762039, |
| 270 |
45.276798, |
| 271 |
6.671010, |
| 272 |
1.779960, |
| 273 |
5.384220, |
| 274 |
1.213620, |
| 275 |
2.778960, |
| 276 |
0.575000, |
| 277 |
2.461189, |
| 278 |
0.560957, |
| 279 |
2.469174, |
| 280 |
0.473505, |
| 281 |
1.197771, |
| 282 |
0.345387, |
| 283 |
1.628353, |
| 284 |
0.414854, |
| 285 |
1.065196, |
| 286 |
0.271946, |
| 287 |
1.298023, |
| 288 |
0.293247, |
| 289 |
1.169076, |
| 290 |
0.380875, |
| 291 |
1.101563, |
| 292 |
0.287727, |
| 293 |
0.906911, |
| 294 |
0.251206, |
| 295 |
0.863077, |
| 296 |
0.287008, |
| 297 |
1.071492, |
| 298 |
0.232261, |
| 299 |
0.740699, |
| 300 |
0.192208, |
| 301 |
0.754968, |
| 302 |
0.219289, |
| 303 |
0.635533, |
| 304 |
0.194809, |
| 305 |
0.587306, |
| 306 |
0.158992, |
| 307 |
0.672037, |
| 308 |
0.191321, |
| 309 |
0.525243, |
| 310 |
0.147219, |
| 311 |
0.568140, |
| 312 |
0.174978, |
| 313 |
0.512379, |
| 314 |
0.151137, |
| 315 |
0.404784, |
| 316 |
0.157388, |
| 317 |
0.385242, |
| 318 |
0.148412, |
| 319 |
0.599131, |
| 320 |
0.196966, |
| 321 |
3.141530, |
| 322 |
0.876753, |
| 323 |
1.654971, |
| 324 |
0.401506, |
| 325 |
1.053265, |
| 326 |
0.339222, |
| 327 |
0.790898, |
| 328 |
0.218258, |
| 329 |
0.713905, |
| 330 |
0.179117, |
| 331 |
0.345490, |
| 332 |
0.142732, |
| 333 |
0.437298, |
| 334 |
0.124392, |
| 335 |
0.269632, |
| 336 |
0.102418, |
| 337 |
0.460489, |
| 338 |
0.124140, |
| 339 |
0.341167, |
| 340 |
0.105408, |
| 341 |
0.304984, |
| 342 |
0.133416, |
| 343 |
0.286601, |
| 344 |
0.086765, |
| 345 |
0.258747, |
| 346 |
0.082036, |
| 347 |
0.288698, |
| 348 |
0.089637, |
| 349 |
0.229658, |
| 350 |
0.085204, |
| 351 |
0.210149, |
| 352 |
0.075370, |
| 353 |
0.149094, |
| 354 |
0.089667, |
| 355 |
0.181741, |
| 356 |
0.078487, |
| 357 |
0.137299, |
| 358 |
0.069550, |
| 359 |
0.154931, |
| 360 |
0.074056, |
| 361 |
0.152401, |
| 362 |
0.066542, |
| 363 |
0.132607, |
| 364 |
0.070790, |
| 365 |
0.128560, |
| 366 |
0.068474, |
| 367 |
0.109052, |
| 368 |
0.066316, |
| 369 |
0.148960, |
| 370 |
0.062321, |
| 371 |
0.985036, |
| 372 |
0.416760, |
| 373 |
0.847603, |
| 374 |
0.282201, |
| 375 |
0.774800, |
| 376 |
0.260238, |
| 377 |
0.612253, |
| 378 |
0.197747, |
| 379 |
0.803581, |
| 380 |
0.265129, |
| 381 |
10.000000, |
| 382 |
5.050760, |
| 383 |
}; |
| 384 |
float cmu_us_slt_dynwin[] = { -0.5, 0.0, 0.5 }; |
| 385 |
#define cmu_us_slt_dynwinsize 3 |
| 386 |
const double cmu_us_slt_me_filter_0[] = { |
| 387 |
-0.000399, -0.000699, -0.001099, -0.001637, -0.002312, -0.003074, -0.003809, -0.004351, -0.004484, -0.003962, -0.002541, -0.000000, 0.003823, 0.009004, 0.015512, 0.023196, 0.031787, 0.040907, 0.050093, 0.058835, 0.066610, 0.072934, 0.077398, 0.079708, 0.079708, 0.077398, 0.072934, 0.066610, 0.058835, 0.050093, 0.040907, 0.031787, 0.023196, 0.015512, 0.009004, 0.003823, -0.000000, -0.002541, -0.003962, -0.004484, -0.004351, -0.003809, -0.003074, -0.002312, -0.001637, -0.001099, -0.000699, -0.000399 |
| 388 |
}; |
| 389 |
const double cmu_us_slt_me_filter_1[] = { |
| 390 |
0.000496, -0.000058, -0.001005, -0.002381, -0.003945, -0.005039, -0.004653, -0.001797, 0.003915, 0.011720, 0.019506, 0.024199, 0.022732, 0.013331, -0.003381, -0.023975, -0.042828, -0.053712, -0.051874, -0.035904, -0.008641, 0.023315, 0.051428, 0.067831, 0.067831, 0.051428, 0.023315, -0.008641, -0.035904, -0.051874, -0.053712, -0.042828, -0.023975, -0.003381, 0.013331, 0.022732, 0.024199, 0.019506, 0.011720, 0.003915, -0.001797, -0.004653, -0.005039, -0.003945, -0.002381, -0.001005, -0.000058, 0.000496 |
| 391 |
}; |
| 392 |
const double cmu_us_slt_me_filter_2[] = { |
| 393 |
0.000201, 0.001321, 0.000959, -0.002283, -0.004482, -0.001078, 0.003495, 0.001813, -0.000020, 0.008175, 0.013508, -0.004814, -0.029146, -0.020370, 0.009818, 0.010703, -0.006372, 0.025894, 0.083862, 0.038460, -0.122700, -0.193589, -0.023811, 0.210551, 0.210551, -0.023811, -0.193589, -0.122700, 0.038460, 0.083862, 0.025894, -0.006372, 0.010703, 0.009818, -0.020370, -0.029146, -0.004814, 0.013508, 0.008175, -0.000020, 0.001813, 0.003495, -0.001078, -0.004482, -0.002283, 0.000959, 0.001321, 0.000201 |
| 394 |
}; |
| 395 |
const double cmu_us_slt_me_filter_3[] = { |
| 396 |
0.001506, -0.001866, 0.000040, 0.000245, 0.001315, 0.001553, -0.007738, 0.004472, 0.006691, -0.006614, -0.000051, -0.010459, 0.019514, 0.010167, -0.042837, 0.019609, 0.013218, 0.010271, -0.008695, -0.096298, 0.140882, 0.048727, -0.264734, 0.161309, 0.161309, -0.264734, 0.048727, 0.140882, -0.096298, -0.008695, 0.010271, 0.013218, 0.019609, -0.042837, 0.010167, 0.019514, -0.010459, -0.000051, -0.006614, 0.006691, 0.004472, -0.007738, 0.001553, 0.001315, 0.000245, 0.000040, -0.001866, 0.001506 |
| 397 |
}; |
| 398 |
const double cmu_us_slt_me_filter_4[] = { |
| 399 |
-0.001754, 0.002357, -0.002671, 0.002435, -0.001539, 0.000393, -0.000077, 0.001963, -0.006807, 0.013808, -0.020365, 0.023037, -0.019545, 0.010865, -0.002081, 0.001031, -0.014854, 0.045806, -0.088445, 0.129996, -0.154339, 0.148291, -0.107518, 0.039308, 0.039308, -0.107518, 0.148291, -0.154339, 0.129996, -0.088445, 0.045806, -0.014854, 0.001031, -0.002081, 0.010865, -0.019545, 0.023037, -0.020365, 0.013808, -0.006807, 0.001963, -0.000077, 0.000393, -0.001539, 0.002435, -0.002671, 0.002357, -0.001754 |
| 400 |
}; |
| 401 |
const double * const cmu_us_slt_me_h[] = { |
| 402 |
cmu_us_slt_me_filter_0, |
| 403 |
cmu_us_slt_me_filter_1, |
| 404 |
cmu_us_slt_me_filter_2, |
| 405 |
cmu_us_slt_me_filter_3, |
| 406 |
cmu_us_slt_me_filter_4 |
| 407 |
}; |
| 408 |
|
| 409 |
#define cmu_us_slt_num_f0_models 1 |
| 410 |
#define cmu_us_slt_num_dur_models 1 |
| 411 |
#define cmu_us_slt_num_param_models 1 |
| 412 |
int cmu_us_slt_num_channels[] = { |
| 413 |
cmu_us_slt_single_num_channels |
| 414 |
}; |
| 415 |
int cmu_us_slt_num_frames[] = { |
| 416 |
cmu_us_slt_single_num_frames |
| 417 |
}; |
| 418 |
const cst_cart **cmu_us_slt_f0_carts[] = { |
| 419 |
(const cst_cart **)cmu_us_slt_single_f0_carts |
| 420 |
}; |
| 421 |
const unsigned short **cmu_us_slt_model_vectors[] = { |
| 422 |
(const unsigned short **)cmu_us_slt_single_model_vectors |
| 423 |
}; |
| 424 |
const cst_cart **cmu_us_slt_mcep_carts[] = { |
| 425 |
(const cst_cart **)cmu_us_slt_single_mcep_carts |
| 426 |
}; |
| 427 |
const dur_stat **cmu_us_slt_dur_stats_table[] = { |
| 428 |
(const dur_stat **)cmu_us_slt_dur_stats |
| 429 |
}; |
| 430 |
const cst_cart *cmu_us_slt_dur_cart_table[] = { |
| 431 |
&cmu_us_slt_dur_cart |
| 432 |
}; |
| 433 |
|
| 434 |
const cst_cg_db cmu_us_slt_cg_db = { |
| 435 |
"cmu_us_slt", |
| 436 |
cmu_us_slt_types, |
| 437 |
cmu_us_slt_num_types, |
| 438 |
16000, |
| 439 |
172.000000,27.000000, |
| 440 |
cmu_us_slt_num_f0_models, |
| 441 |
cmu_us_slt_f0_carts, |
| 442 |
cmu_us_slt_num_param_models, |
| 443 |
cmu_us_slt_mcep_carts, |
| 444 |
&cmu_us_slt_spamf0_accent_cart, |
| 445 |
&cmu_us_slt_spamf0_phrase_cart, |
| 446 |
cmu_us_slt_num_channels, |
| 447 |
cmu_us_slt_num_frames, |
| 448 |
cmu_us_slt_model_vectors, |
| 449 |
cmu_us_slt_spamf0_accent_num_channels, |
| 450 |
cmu_us_slt_spamf0_accent_num_frames, |
| 451 |
cmu_us_slt_spamf0_accent_vectors, |
| 452 |
cmu_us_slt_model_min, |
| 453 |
cmu_us_slt_model_range, |
| 454 |
NULL, /* no qtable */ |
| 455 |
CST_CG_MODEL_SHAPE_BASE_MINRANGE, |
| 456 |
0.005000, /* frame_advance */ |
| 457 |
cmu_us_slt_num_dur_models, |
| 458 |
cmu_us_slt_dur_stats_table, |
| 459 |
cmu_us_slt_dur_cart_table, |
| 460 |
cmu_us_slt_phone_states, |
| 461 |
1, /* 1 if mlpg required */ |
| 462 |
cmu_us_slt_dynwin, |
| 463 |
cmu_us_slt_dynwinsize, |
| 464 |
0.420000, /* mlsa_alpha */ |
| 465 |
0.400000, /* mlsa_beta */ |
| 466 |
0, /* cg:multimodel */ |
| 467 |
1, /* cg:mixed_excitation */ |
| 468 |
5,48, /* filter sizes */ |
| 469 |
cmu_us_slt_me_h, |
| 470 |
0, /* cg:spamf0 */ |
| 471 |
1.5 /* gain */ |
| 472 |
}; |