mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 07:32:32 +00:00
[1.45.45]
Fixed bug where SSML voice change didn't remember an initially specified Klatt variant. Removed some unused variables and redundant initializations. Patch to fix a spike from Klatt function setzeroabc() git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@275 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -533,7 +533,6 @@ void SpectDisplay::OnKey(wxKeyEvent& event)
|
||||
int keyfr;
|
||||
int control;
|
||||
int number;
|
||||
double value;
|
||||
SpectFrame *sf;
|
||||
peak_t *pk;
|
||||
// static short pk_inc1[N_PEAKS] = {2,2,2,5,5,5,5,5,5};
|
||||
@@ -785,10 +784,6 @@ void SpectDisplay::OnKey(wxKeyEvent& event)
|
||||
display = 3;
|
||||
break;
|
||||
|
||||
case 0x1052: // CTRL-R
|
||||
value = sf->GetRms(spectseq->amplitude);
|
||||
break;
|
||||
|
||||
case 0x1053: // CTRL-S
|
||||
Save(savepath);
|
||||
break;
|
||||
@@ -1023,7 +1018,7 @@ void MyFrame::OnNewWindow(wxCommandEvent& event)
|
||||
else
|
||||
path_spectload2 = path.GetPath();
|
||||
|
||||
// Make another frame, containing a canvas
|
||||
// Make another frame, containing a canvas
|
||||
GetClientSize(&width, &height);
|
||||
MyChild *subframe = new MyChild(myframe, _T("Spectrum"),
|
||||
wxPoint(10, 0), wxSize(500, height),
|
||||
|
||||
Reference in New Issue
Block a user