mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.45.47]
Fixed crash on re-initializing libespeak. lang=hu, experimental, if the last two words of a clause (before punctuation) both have capital letters, then make the last word unstressed. This is useful for people names, but may be wrong for other cases. lang=en-us, distinguish phonemes [aI@] and [aI3] (compare "diet", "tired"). lang=de, fix automatic devoicing of word-final 'b', 'd', 'g'. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@276 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -1432,8 +1432,8 @@ void SetVoiceStack(espeak_VOICE *v, const char *variant_name)
|
||||
sp->voice_age = v->age;
|
||||
sp->voice_gender = v->gender;
|
||||
|
||||
if(memcmp(variant_name, "!v/", 3) == 0)
|
||||
variant_name += 3;// strip variant directory name
|
||||
if(memcmp(variant_name, "!v", 2) == 0)
|
||||
variant_name += 3;// strip variant directory name, !v plus PATHSEP
|
||||
strncpy0(base_voice_variant_name, variant_name, sizeof(base_voice_variant_name));
|
||||
memcpy(&base_voice, ¤t_voice_selected, sizeof(base_voice));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user