mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 22:53:38 +00:00
[1.38.03]
Fix crash with SSML <say-as>. Sada audio output now OK on big-endian processors. Don't reduce the pause before doubles stop consonants (eg.Finnish "kk") as much at high speeds. Language changes: pl (reduce length of stressed syllables, [i] closer, [f] stronger befiore [s]). git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@188 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -608,7 +608,7 @@ void MbrolaTranslate(PHONEME_LIST *plist, int n_phonemes, FILE *f_mbrola)
|
||||
if(name2 == '_')
|
||||
{
|
||||
// add a pause after this phoneme
|
||||
pause = PauseLength(len_percent);
|
||||
pause = PauseLength(len_percent,0);
|
||||
name2 = 0;
|
||||
}
|
||||
|
||||
@@ -653,7 +653,7 @@ void MbrolaTranslate(PHONEME_LIST *plist, int n_phonemes, FILE *f_mbrola)
|
||||
else
|
||||
len = DoSample(p->ph,phoneme_tab[phonPAUSE],2,0,-1);
|
||||
len = (len * 1000)/samplerate; // convert to mS
|
||||
len += PauseLength(p->prepause);
|
||||
len += PauseLength(p->prepause,1);
|
||||
break;
|
||||
|
||||
case phVSTOP:
|
||||
@@ -704,7 +704,7 @@ void MbrolaTranslate(PHONEME_LIST *plist, int n_phonemes, FILE *f_mbrola)
|
||||
|
||||
if(pause)
|
||||
{
|
||||
sprintf(buf,"_ \t%d\n",PauseLength(pause));
|
||||
sprintf(buf,"_ \t%d\n",PauseLength(pause,0));
|
||||
strcat(mbr_buf,buf);
|
||||
pause = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user