mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +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:
+10
-4
@@ -162,11 +162,11 @@ static void DoPitch(unsigned char *env, int pitch1, int pitch2)
|
||||
|
||||
EndPitch(0);
|
||||
|
||||
if(pitch1 == 1024)
|
||||
if(pitch1 == 255)
|
||||
{
|
||||
// pitch was not set
|
||||
pitch1 = 24;
|
||||
pitch2 = 33;
|
||||
pitch1 = 55;
|
||||
pitch2 = 76;
|
||||
env = envelope_data[PITCHfall];
|
||||
}
|
||||
last_pitch_cmd = wcmdq_tail;
|
||||
@@ -1308,8 +1308,14 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
|
||||
|
||||
if(p->newword)
|
||||
{
|
||||
if(translator->langopts.param[LOPT_WORD_MERGE] == 0)
|
||||
if(((p->type == phVOWEL) && (translator->langopts.param[LOPT_WORD_MERGE] & 1)) ||
|
||||
(p->ph->phflags & phNOPAUSE))
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
last_frame = NULL;
|
||||
}
|
||||
|
||||
sourceix = (p->sourceix & 0x7ff) + clause_start_char;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user