mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 06:32:20 +00:00
[1.28.05] Changed names of voice variant files (espeak-data/voices/!v).
Moves "wisper" and "croak" into voices/!v. Voice variants can now be specified as en+wisper, en+f2 (for female 2), etc. espeak --voices=variant lists the voice variants. Moves some lines from speech.h into other header files. Possible fix for data version check on big-endian. Fixed crash error iin LoadConfig(). Fixed crash in espeakedit: press Tab in enpty Prosody window. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@74 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -125,7 +125,7 @@ void ProsodyDisplay::SelectPh(int index)
|
||||
if(index < 0) return;
|
||||
|
||||
p = &phlist[index];
|
||||
if(p == NULL) return;
|
||||
if((p == NULL) || (p->ph == NULL)) return;
|
||||
|
||||
sprintf(buf,"Stress %d Amp %2d LenMod %2d Pitch %3d %3d [env=%d] Flags %.2x ",
|
||||
p->tone,p->amp,p->length,p->pitch1,p->pitch2,p->env,p->ph->phflags);
|
||||
@@ -293,7 +293,14 @@ void ProsodyDisplay::OnKey(wxKeyEvent& event)
|
||||
p->length++;
|
||||
break;
|
||||
|
||||
case WXK_TAB:
|
||||
display = 0;
|
||||
event.Skip();
|
||||
transldlg->SetFocus();
|
||||
break;
|
||||
|
||||
default:
|
||||
display = 0;
|
||||
event.Skip();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user