mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-23 12:05:47 +00:00
[1.26.06] Fixed check for dot in abbreviations, for multibyte characters.
Defined a Revision number macro in speak_lib.h for interface changes. Changes to formant rate smoothing so that it's proportional to frequency. Add phoneme translations for mbrola "it3" "it4" Italian voices. Added rule in *_rules files for "word starts with capital letter". git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@49 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+22
-3
@@ -192,6 +192,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxMDIParentFrame)
|
||||
EVT_MENU(MENU_PATH1, MyFrame::OnOptions)
|
||||
EVT_MENU(MENU_PATH2, MyFrame::OnOptions)
|
||||
EVT_MENU(MENU_PATH3, MyFrame::OnOptions)
|
||||
EVT_MENU(MENU_PATH4, MyFrame::OnOptions)
|
||||
EVT_MENU(MENU_COMPILE_PH, MyFrame::OnTools)
|
||||
EVT_MENU(MENU_COMPILE_DICT, MyFrame::OnTools)
|
||||
EVT_MENU(MENU_COMPILE_MBROLA, MyFrame::OnTools)
|
||||
@@ -356,12 +357,13 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
(void)wxMessageBox(wxString(buf,wxConvLocal), _T("About eSpeak Editor"));
|
||||
}
|
||||
|
||||
void MyFrame::OnOptions(wxCommandEvent& event)
|
||||
{
|
||||
|
||||
void OnOptions2(int event_id)
|
||||
{//==========================
|
||||
wxString string;
|
||||
int value;
|
||||
|
||||
switch(event.GetId())
|
||||
switch(event_id)
|
||||
{
|
||||
case MENU_PARAMS:
|
||||
value = wxGetNumberFromUser(_T(""),_T(""),_T("Speed"),option_speed,80,320);
|
||||
@@ -397,12 +399,29 @@ void MyFrame::OnOptions(wxCommandEvent& event)
|
||||
path_speech = string;
|
||||
}
|
||||
break;
|
||||
|
||||
case MENU_PATH4:
|
||||
string = wxFileSelector(_T("Voice file to modify formant peaks"),wxFileName(path_speech).GetPath(),
|
||||
_T(""),_T("WAV"),_T("*"),wxSAVE);
|
||||
if(!string.IsEmpty())
|
||||
{
|
||||
path_modifiervoice = string;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
ConfigSetPaths();
|
||||
}
|
||||
|
||||
|
||||
void MyFrame::OnOptions(wxCommandEvent& event)
|
||||
{//===========================================
|
||||
OnOptions2(event.GetId());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void MyFrame::OnTools(wxCommandEvent& event)
|
||||
{//=========================================
|
||||
int err;
|
||||
|
||||
Reference in New Issue
Block a user