mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
[1.26.05] Fix count of upper-case letters in a word to consider multibyte characters.
Mbrola translations, option to not match across a word boundary. Mbrola translations, allow check of lengthen indicator [:]. espeakedit, add operation to apply a voice's formants modifications to a keyframe. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@47 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -468,7 +468,7 @@ void SpectDisplay::OnMenu(wxCommandEvent& event)
|
||||
int code;
|
||||
wxKeyEvent keyevent;
|
||||
SpectFrame *sf;
|
||||
static int key[] = {0x1044,0x3044,0x104e,0x1047,0x105a,0x1051,0x3051,WXK_F1,WXK_F2,0x1049};
|
||||
static int key[] = {0x1044,0x3044,0x104e,0x1047,0x105a,0x1051,0x3051,WXK_F1,WXK_F2,0x1049,WXK_F10};
|
||||
|
||||
id = event.GetId();
|
||||
|
||||
@@ -773,6 +773,11 @@ void SpectDisplay::OnKey(wxKeyEvent& event)
|
||||
display = 2;
|
||||
break;
|
||||
|
||||
case WXK_F10:
|
||||
sf->ApplyVoiceMods();
|
||||
display = 2;
|
||||
break;
|
||||
|
||||
case WXK_F2:
|
||||
// make and play sequence
|
||||
ReadDialogValues();
|
||||
@@ -1002,6 +1007,7 @@ void InitSpectrumDisplay()
|
||||
menu_spectdisplay->Append(207,_T("Hide Interpolation CTRL+SHIFT+Q"));
|
||||
menu_spectdisplay->Append(205,_T("Zero Peaks CTRL+Z"));
|
||||
menu_spectdisplay->Append(210,_T("Toggle Marker"),menu_markers);
|
||||
menu_spectdisplay->Append(211,_T("Apply the formant adjustments from current voice"));
|
||||
menu_spectdisplay->AppendSeparator();
|
||||
menu_spectdisplay->Append(208,_T("Play Selected Frame F1"));
|
||||
menu_spectdisplay->Append(209,_T("Play All F2"));
|
||||
|
||||
Reference in New Issue
Block a user