mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
[1.25.08] Fix to uft-8 recognizer.
lang=hu, set no secondary stress; [e:] [E] are closer, Don't consider mbrola voices during voice selection. Fix voice variant not being set from SSML. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@23 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -286,7 +286,7 @@ static int GetC(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if(((c2 & 0xc0) != 0x80) && ((c2 & m) != 0))
|
||||
if((c2 & 0xc0) != 0x80)
|
||||
{
|
||||
GetC_unget(c2);
|
||||
break;
|
||||
@@ -963,7 +963,7 @@ static int GetVoiceAttributes(wchar_t *pw, int tag_type)
|
||||
return(0); // <s> or <p> without language spec, nothing to do
|
||||
|
||||
ssml_sp = &ssml_stack[n_ssml_stack++];
|
||||
|
||||
|
||||
attrcopy_utf8(ssml_sp->language,lang,sizeof(ssml_sp->language));
|
||||
attrcopy_utf8(ssml_sp->voice_name,name,sizeof(ssml_sp->voice_name));
|
||||
ssml_sp->voice_variant = attrnumber(variant,1,0)-1;
|
||||
|
||||
Reference in New Issue
Block a user