|
From: Jonathan D. <jo...@js...> - 2007-09-05 17:01:04
|
On 05 Sep, <hgn...@ya...> wrote:
> I want to get female voice for other languages.
> Are voices/!v/* just for English?
> What does language "variant" mean?
No, the voice variants can be applied to any language. They change the
pitch and tone of the voice.
If you look at the files in espeak-data/voices/!v, they contain
commands to set the pitch range, modify vowel formants, and add echo,
noise, and other effects.
> How should I use espeak_SetVoiceByProperties(spec) ? I
> am confuse with the voice setting result. They usually
> change back to English.
spec->languages = "zh";
spec->gender = 2;
should give you a female variant of language "zh".
(Note that the voice file espeak-data/voices/zhy has:
language zh
That's probably wrong. It would be better to have something like:
language zh-yue
to distinguish it from other Chinese languages.
)
Alternatively (in eSpeak 1.29), you can use
espeak_SetVoiceByName("zhy+f2") where "f2" is the filename of a voice
variant file in espeak-data/voices/!v
|