|
|
|
|
|
|
|
|
n_replace_phonemes = 0; |
|
|
n_replace_phonemes = 0; |
|
|
LoadMbrolaTable(NULL, NULL, 0); |
|
|
LoadMbrolaTable(NULL, NULL, 0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// probably unnecessary, but removing this would break tests |
|
|
|
|
|
voice->width[0] = (voice->width[0] * 105)/100; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static void VoiceFormant(char *p) |
|
|
static void VoiceFormant(char *p) |
|
|
|
|
|
|
|
|
if (width >= 0) |
|
|
if (width >= 0) |
|
|
voice->width[formant] = (int)(width * 2.56001); |
|
|
voice->width[formant] = (int)(width * 2.56001); |
|
|
voice->freqadd[formant] = freqadd; |
|
|
voice->freqadd[formant] = freqadd; |
|
|
|
|
|
|
|
|
|
|
|
// probably unnecessary, but removing this would break tests |
|
|
|
|
|
if (formant == 0) |
|
|
|
|
|
voice->width[0] = (voice->width[0] * 105)/100; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static void PhonemeReplacement(char *p) |
|
|
static void PhonemeReplacement(char *p) |
|
|
|
|
|
|
|
|
voice_languages[langix] = 0; |
|
|
voice_languages[langix] = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
voice->width[0] = (voice->width[0] * 105)/100; |
|
|
|
|
|
|
|
|
|
|
|
return voice; |
|
|
return voice; |
|
|
} |
|
|
} |
|
|
|
|
|
|