mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 22:26:48 +00:00
[1.26.03] Priority stress [''] reduces other primary stress to secondary not unstressed (except lang=pt).
Add short pause between [*] and a fricative. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@44 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+4
-1
@@ -300,7 +300,7 @@ void Translator::CalcLengths()
|
||||
if(next->type==phVOWEL)
|
||||
{
|
||||
pre_voiced = 1;
|
||||
}
|
||||
} // drop through
|
||||
case phFRICATIVE:
|
||||
if(p->newword)
|
||||
p->prepause = 15;
|
||||
@@ -308,6 +308,9 @@ void Translator::CalcLengths()
|
||||
if(next->type==phPAUSE && prev->type==phNASAL && !(p->ph->phflags&phFORTIS))
|
||||
p->prepause = 25;
|
||||
|
||||
if(prev->ph->phflags & phBRKAFTER)
|
||||
p->prepause = 30;
|
||||
|
||||
if((p->ph->phflags & phSIBILANT) && next->type==phSTOP && !next->newword)
|
||||
{
|
||||
if(prev->type == phVOWEL)
|
||||
|
||||
Reference in New Issue
Block a user