mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
[1.43.31]
*_list files: added attribute $sentence. *_rules files: added attributes $w_alt, $p_alt. phoneme definitions: added attribute no_pause. -X command-line option: Show the matching of multiple-word entries in *_list files. espeakedit: Add menu option to compile the intonation data file (the data is not yet used). Start language: Bulgarian. lang=bg (Bulgarian): Add feature in espeakedit to make bg_listx from a lexicon of words which have stress position mark-up. espeakedit: Change the frame-length field from Spin Control to Text Control to allow better access from screen-readers. Language options: add an option to the Regressive Voicing option to de-voice the final consonant of words. Don't speak "dot" if an ellipsis is followed by a dot. Intonation: change the internal pitch unit to give finer control, and align with the values displayed in the espeakedit Prosody window. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@243 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -246,6 +246,7 @@ void SpectDisplay::RefreshDialogValues(int type)
|
||||
//{=============================================
|
||||
{
|
||||
int ix;
|
||||
long int value;
|
||||
SpectFrame *sf;
|
||||
|
||||
if(spectseq == NULL)
|
||||
@@ -255,7 +256,13 @@ void SpectDisplay::RefreshDialogValues(int type)
|
||||
|
||||
spectseq->amplitude = formantdlg->t_amplitude->GetValue();
|
||||
sf->amp_adjust = formantdlg->t_ampframe->GetValue();
|
||||
sf->length_adjust = formantdlg->t_timeframe->GetValue() - spectseq->GetFrameLength(sframe,0,NULL);
|
||||
|
||||
if(use_spin_controls)
|
||||
value = formantdlg->t_timeframe->GetValue();
|
||||
else
|
||||
formantdlg->tt_timeframe->GetValue().ToLong(&value);
|
||||
|
||||
sf->length_adjust = value - spectseq->GetFrameLength(sframe,0,NULL);
|
||||
|
||||
for(ix=0; ix < N_KLATTP; ix++)
|
||||
{
|
||||
@@ -268,7 +275,7 @@ void SpectDisplay::RefreshDialogValues(int type)
|
||||
Refresh();
|
||||
}
|
||||
else
|
||||
RefreshFrame(sframe);
|
||||
RefreshFrame(sframe); // frame amplitude
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user