| 1 |
/*****************************************************/ |
| 2 |
/** Autogenerated clustergen voice for cmu_us_rms */ |
| 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_rms_single_f0_carts[]; |
| 10 |
extern const cst_cart cmu_us_rms_spamf0_phrase_cart; |
| 11 |
extern const cst_cart cmu_us_rms_spamf0_accent_cart; |
| 12 |
extern const float * const cmu_us_rms_spamf0_accent_vectors[]; |
| 13 |
#define cmu_us_rms_spamf0_accent_num_channels 8 |
| 14 |
#define cmu_us_rms_spamf0_accent_num_frames 94 |
| 15 |
|
| 16 |
|
| 17 |
extern const cst_cart * cmu_us_rms_single_mcep_carts[]; |
| 18 |
#define cmu_us_rms_single_num_channels 114 |
| 19 |
#define cmu_us_rms_single_num_frames 10446 |
| 20 |
extern const unsigned short * cmu_us_rms_single_model_vectors[]; |
| 21 |
extern const dur_stat * const cmu_us_rms_dur_stats[]; |
| 22 |
extern const cst_cart cmu_us_rms_dur_cart; |
| 23 |
extern const char * const *cmu_us_rms_phone_states[]; |
| 24 |
|
| 25 |
const char * const cmu_us_rms_types[] = { |
| 26 |
"zh_204", |
| 27 |
"zh_205", |
| 28 |
"zh_206", |
| 29 |
"oy_131", |
| 30 |
"oy_132", |
| 31 |
"oy_133", |
| 32 |
"ch_41", |
| 33 |
"ch_42", |
| 34 |
"ch_43", |
| 35 |
"aw_21", |
| 36 |
"aw_22", |
| 37 |
"aw_23", |
| 38 |
"ow_126", |
| 39 |
"ow_127", |
| 40 |
"ow_128", |
| 41 |
"b_36", |
| 42 |
"b_37", |
| 43 |
"b_38", |
| 44 |
"g_76", |
| 45 |
"g_77", |
| 46 |
"g_78", |
| 47 |
"ng_121", |
| 48 |
"ng_122", |
| 49 |
"ng_123", |
| 50 |
"uw_179", |
| 51 |
"uw_180", |
| 52 |
"uw_181", |
| 53 |
"sh_156", |
| 54 |
"sh_157", |
| 55 |
"sh_158", |
| 56 |
"uh_174", |
| 57 |
"uh_175", |
| 58 |
"uh_176", |
| 59 |
"hh_81", |
| 60 |
"hh_82", |
| 61 |
"hh_83", |
| 62 |
"ae_6", |
| 63 |
"ae_7", |
| 64 |
"ae_8", |
| 65 |
"y_194", |
| 66 |
"y_195", |
| 67 |
"y_196", |
| 68 |
"k_101", |
| 69 |
"k_102", |
| 70 |
"k_103", |
| 71 |
"aa_1", |
| 72 |
"aa_2", |
| 73 |
"aa_3", |
| 74 |
"ay_31", |
| 75 |
"ay_32", |
| 76 |
"ay_33", |
| 77 |
"w_189", |
| 78 |
"w_190", |
| 79 |
"w_191", |
| 80 |
"m_111", |
| 81 |
"m_112", |
| 82 |
"m_113", |
| 83 |
"pau_143", |
| 84 |
"ao_16", |
| 85 |
"ao_17", |
| 86 |
"ao_18", |
| 87 |
"th_169", |
| 88 |
"th_170", |
| 89 |
"th_171", |
| 90 |
"ah_11", |
| 91 |
"ah_12", |
| 92 |
"ah_13", |
| 93 |
"v_184", |
| 94 |
"v_185", |
| 95 |
"v_186", |
| 96 |
"dh_51", |
| 97 |
"dh_52", |
| 98 |
"dh_53", |
| 99 |
"d_46", |
| 100 |
"d_47", |
| 101 |
"d_48", |
| 102 |
"n_116", |
| 103 |
"n_117", |
| 104 |
"n_118", |
| 105 |
"jh_96", |
| 106 |
"jh_97", |
| 107 |
"jh_98", |
| 108 |
"r_146", |
| 109 |
"r_147", |
| 110 |
"r_148", |
| 111 |
"ey_66", |
| 112 |
"ey_67", |
| 113 |
"ey_68", |
| 114 |
"f_71", |
| 115 |
"f_72", |
| 116 |
"f_73", |
| 117 |
"ih_86", |
| 118 |
"ih_87", |
| 119 |
"ih_88", |
| 120 |
"p_136", |
| 121 |
"p_137", |
| 122 |
"p_138", |
| 123 |
"iy_91", |
| 124 |
"iy_92", |
| 125 |
"iy_93", |
| 126 |
"l_106", |
| 127 |
"l_107", |
| 128 |
"l_108", |
| 129 |
"z_199", |
| 130 |
"z_200", |
| 131 |
"z_201", |
| 132 |
"pau_161", |
| 133 |
"s_151", |
| 134 |
"s_152", |
| 135 |
"s_153", |
| 136 |
"eh_56", |
| 137 |
"eh_57", |
| 138 |
"eh_58", |
| 139 |
"t_164", |
| 140 |
"t_165", |
| 141 |
"t_166", |
| 142 |
"er_61", |
| 143 |
"er_62", |
| 144 |
"er_63", |
| 145 |
"ax_26", |
| 146 |
"ax_27", |
| 147 |
"ax_28", |
| 148 |
"pau_141", |
| 149 |
"pau_142", |
| 150 |
NULL}; |
| 151 |
#define cmu_us_rms_num_types 124 |
| 152 |
|
| 153 |
const float cmu_us_rms_model_min[] = { |
| 154 |
0.000000, |
| 155 |
0.000000, |
| 156 |
-0.105506, |
| 157 |
0.012137, |
| 158 |
-2.164260, |
| 159 |
0.016141, |
| 160 |
-1.109930, |
| 161 |
0.016597, |
| 162 |
-0.668187, |
| 163 |
0.016632, |
| 164 |
-1.154450, |
| 165 |
0.016767, |
| 166 |
-0.391618, |
| 167 |
0.016338, |
| 168 |
-0.680646, |
| 169 |
0.016580, |
| 170 |
-0.540649, |
| 171 |
0.019889, |
| 172 |
-0.838494, |
| 173 |
0.015534, |
| 174 |
-0.450559, |
| 175 |
0.014618, |
| 176 |
-0.825718, |
| 177 |
0.015498, |
| 178 |
-0.165153, |
| 179 |
0.014296, |
| 180 |
-0.676482, |
| 181 |
0.012907, |
| 182 |
-0.153582, |
| 183 |
0.011963, |
| 184 |
-0.477405, |
| 185 |
0.010785, |
| 186 |
-0.232139, |
| 187 |
0.011038, |
| 188 |
-0.511163, |
| 189 |
0.011640, |
| 190 |
-0.182793, |
| 191 |
0.011750, |
| 192 |
-0.474290, |
| 193 |
0.011354, |
| 194 |
-0.195714, |
| 195 |
0.009076, |
| 196 |
-0.489518, |
| 197 |
0.007013, |
| 198 |
-0.145743, |
| 199 |
0.006306, |
| 200 |
-0.379031, |
| 201 |
0.006294, |
| 202 |
-0.151363, |
| 203 |
0.007349, |
| 204 |
-0.449185, |
| 205 |
0.003270, |
| 206 |
-1.031970, |
| 207 |
0.010390, |
| 208 |
-0.831298, |
| 209 |
0.009987, |
| 210 |
-0.749674, |
| 211 |
0.011160, |
| 212 |
-0.274486, |
| 213 |
0.011229, |
| 214 |
-0.328660, |
| 215 |
0.010794, |
| 216 |
-0.239727, |
| 217 |
0.009898, |
| 218 |
-0.210368, |
| 219 |
0.009261, |
| 220 |
-0.174855, |
| 221 |
0.014307, |
| 222 |
-0.197839, |
| 223 |
0.009180, |
| 224 |
-0.190170, |
| 225 |
0.008188, |
| 226 |
-0.195920, |
| 227 |
0.009055, |
| 228 |
-0.101596, |
| 229 |
0.008492, |
| 230 |
-0.117977, |
| 231 |
0.009425, |
| 232 |
-0.092450, |
| 233 |
0.008305, |
| 234 |
-0.108925, |
| 235 |
0.008453, |
| 236 |
-0.086135, |
| 237 |
0.007633, |
| 238 |
-0.104667, |
| 239 |
0.009120, |
| 240 |
-0.096733, |
| 241 |
0.010745, |
| 242 |
-0.123130, |
| 243 |
0.009425, |
| 244 |
-0.061969, |
| 245 |
0.006805, |
| 246 |
-0.176942, |
| 247 |
0.008564, |
| 248 |
-0.165415, |
| 249 |
0.008969, |
| 250 |
-0.081244, |
| 251 |
0.009719, |
| 252 |
-0.129452, |
| 253 |
0.009777, |
| 254 |
-0.065974, |
| 255 |
0.007844, |
| 256 |
0.316063, |
| 257 |
0.000767, |
| 258 |
0.056998, |
| 259 |
0.020538, |
| 260 |
0.150928, |
| 261 |
0.043600, |
| 262 |
0.138000, |
| 263 |
0.047275, |
| 264 |
0.100521, |
| 265 |
0.042534, |
| 266 |
0.000000, |
| 267 |
0.000000, |
| 268 |
}; |
| 269 |
const float cmu_us_rms_model_range[] = { |
| 270 |
145.078003, |
| 271 |
46.174999, |
| 272 |
7.623296, |
| 273 |
1.513283, |
| 274 |
5.899380, |
| 275 |
1.243929, |
| 276 |
2.563300, |
| 277 |
0.655548, |
| 278 |
2.617757, |
| 279 |
0.555863, |
| 280 |
2.160680, |
| 281 |
0.542744, |
| 282 |
1.228571, |
| 283 |
0.353412, |
| 284 |
1.109775, |
| 285 |
0.332212, |
| 286 |
1.200280, |
| 287 |
0.316996, |
| 288 |
1.052498, |
| 289 |
0.341111, |
| 290 |
1.018004, |
| 291 |
0.312444, |
| 292 |
1.048242, |
| 293 |
0.324803, |
| 294 |
0.871246, |
| 295 |
0.257496, |
| 296 |
0.787514, |
| 297 |
0.276116, |
| 298 |
0.695962, |
| 299 |
0.229119, |
| 300 |
0.645803, |
| 301 |
0.222612, |
| 302 |
0.683966, |
| 303 |
0.226130, |
| 304 |
0.596995, |
| 305 |
0.241550, |
| 306 |
0.570523, |
| 307 |
0.225851, |
| 308 |
0.699375, |
| 309 |
0.193898, |
| 310 |
0.451328, |
| 311 |
0.188712, |
| 312 |
0.599853, |
| 313 |
0.214278, |
| 314 |
0.451732, |
| 315 |
0.179209, |
| 316 |
0.437614, |
| 317 |
0.196797, |
| 318 |
0.381929, |
| 319 |
0.173785, |
| 320 |
0.581395, |
| 321 |
0.207022, |
| 322 |
2.887570, |
| 323 |
0.738030, |
| 324 |
1.818154, |
| 325 |
0.525456, |
| 326 |
1.138942, |
| 327 |
0.361765, |
| 328 |
0.518299, |
| 329 |
0.212987, |
| 330 |
0.618629, |
| 331 |
0.193726, |
| 332 |
0.432482, |
| 333 |
0.163513, |
| 334 |
0.354674, |
| 335 |
0.142492, |
| 336 |
0.337970, |
| 337 |
0.133049, |
| 338 |
0.342873, |
| 339 |
0.126924, |
| 340 |
0.382684, |
| 341 |
0.126238, |
| 342 |
0.368615, |
| 343 |
0.116310, |
| 344 |
0.206960, |
| 345 |
0.109325, |
| 346 |
0.207397, |
| 347 |
0.145037, |
| 348 |
0.171221, |
| 349 |
0.103410, |
| 350 |
0.218860, |
| 351 |
0.107505, |
| 352 |
0.174697, |
| 353 |
0.090681, |
| 354 |
0.169283, |
| 355 |
0.084481, |
| 356 |
0.194888, |
| 357 |
0.081914, |
| 358 |
0.221262, |
| 359 |
0.082873, |
| 360 |
0.126421, |
| 361 |
0.085715, |
| 362 |
0.242349, |
| 363 |
0.083928, |
| 364 |
0.240328, |
| 365 |
0.080593, |
| 366 |
0.136035, |
| 367 |
0.080269, |
| 368 |
0.181382, |
| 369 |
0.076359, |
| 370 |
0.116322, |
| 371 |
0.080073, |
| 372 |
0.682987, |
| 373 |
0.318683, |
| 374 |
0.918946, |
| 375 |
0.234344, |
| 376 |
0.790400, |
| 377 |
0.210853, |
| 378 |
0.692895, |
| 379 |
0.187394, |
| 380 |
0.760898, |
| 381 |
0.194466, |
| 382 |
10.000000, |
| 383 |
5.050760, |
| 384 |
}; |
| 385 |
float cmu_us_rms_dynwin[] = { -0.5, 0.0, 0.5 }; |
| 386 |
#define cmu_us_rms_dynwinsize 3 |
| 387 |
const double cmu_us_rms_me_filter_0[] = { |
| 388 |
-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 |
| 389 |
}; |
| 390 |
const double cmu_us_rms_me_filter_1[] = { |
| 391 |
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 |
| 392 |
}; |
| 393 |
const double cmu_us_rms_me_filter_2[] = { |
| 394 |
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 |
| 395 |
}; |
| 396 |
const double cmu_us_rms_me_filter_3[] = { |
| 397 |
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 |
| 398 |
}; |
| 399 |
const double cmu_us_rms_me_filter_4[] = { |
| 400 |
-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 |
| 401 |
}; |
| 402 |
const double * const cmu_us_rms_me_h[] = { |
| 403 |
cmu_us_rms_me_filter_0, |
| 404 |
cmu_us_rms_me_filter_1, |
| 405 |
cmu_us_rms_me_filter_2, |
| 406 |
cmu_us_rms_me_filter_3, |
| 407 |
cmu_us_rms_me_filter_4 |
| 408 |
}; |
| 409 |
|
| 410 |
#define cmu_us_rms_num_f0_models 1 |
| 411 |
#define cmu_us_rms_num_dur_models 1 |
| 412 |
#define cmu_us_rms_num_param_models 1 |
| 413 |
int cmu_us_rms_num_channels[] = { |
| 414 |
cmu_us_rms_single_num_channels |
| 415 |
}; |
| 416 |
int cmu_us_rms_num_frames[] = { |
| 417 |
cmu_us_rms_single_num_frames |
| 418 |
}; |
| 419 |
const cst_cart **cmu_us_rms_f0_carts[] = { |
| 420 |
(const cst_cart **)cmu_us_rms_single_f0_carts |
| 421 |
}; |
| 422 |
const unsigned short **cmu_us_rms_model_vectors[] = { |
| 423 |
(const unsigned short **)cmu_us_rms_single_model_vectors |
| 424 |
}; |
| 425 |
const cst_cart **cmu_us_rms_mcep_carts[] = { |
| 426 |
(const cst_cart **)cmu_us_rms_single_mcep_carts |
| 427 |
}; |
| 428 |
const dur_stat **cmu_us_rms_dur_stats_table[] = { |
| 429 |
(const dur_stat **)cmu_us_rms_dur_stats |
| 430 |
}; |
| 431 |
const cst_cart *cmu_us_rms_dur_cart_table[] = { |
| 432 |
&cmu_us_rms_dur_cart |
| 433 |
}; |
| 434 |
|
| 435 |
const cst_cg_db cmu_us_rms_cg_db = { |
| 436 |
"cmu_us_rms", |
| 437 |
cmu_us_rms_types, |
| 438 |
cmu_us_rms_num_types, |
| 439 |
16000, |
| 440 |
98.000000,24.000000, |
| 441 |
cmu_us_rms_num_f0_models, |
| 442 |
cmu_us_rms_f0_carts, |
| 443 |
cmu_us_rms_num_param_models, |
| 444 |
cmu_us_rms_mcep_carts, |
| 445 |
&cmu_us_rms_spamf0_accent_cart, |
| 446 |
&cmu_us_rms_spamf0_phrase_cart, |
| 447 |
cmu_us_rms_num_channels, |
| 448 |
cmu_us_rms_num_frames, |
| 449 |
cmu_us_rms_model_vectors, |
| 450 |
cmu_us_rms_spamf0_accent_num_channels, |
| 451 |
cmu_us_rms_spamf0_accent_num_frames, |
| 452 |
cmu_us_rms_spamf0_accent_vectors, |
| 453 |
cmu_us_rms_model_min, |
| 454 |
cmu_us_rms_model_range, |
| 455 |
NULL, /* no qtable */ |
| 456 |
CST_CG_MODEL_SHAPE_BASE_MINRANGE, |
| 457 |
0.005000, /* frame_advance */ |
| 458 |
cmu_us_rms_num_dur_models, |
| 459 |
cmu_us_rms_dur_stats_table, |
| 460 |
cmu_us_rms_dur_cart_table, |
| 461 |
cmu_us_rms_phone_states, |
| 462 |
1, /* 1 if mlpg required */ |
| 463 |
cmu_us_rms_dynwin, |
| 464 |
cmu_us_rms_dynwinsize, |
| 465 |
0.420000, /* mlsa_alpha */ |
| 466 |
0.400000, /* mlsa_beta */ |
| 467 |
0, /* cg:multimodel */ |
| 468 |
1, /* cg:mixed_excitation */ |
| 469 |
5,48, /* filter sizes */ |
| 470 |
cmu_us_rms_me_h, |
| 471 |
1, /* cg:spamf0 */ |
| 472 |
1.5 /* gain */ |
| 473 |
}; |