mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 07:32:32 +00:00
[1.25.18] Adjusted [la], [wi]
Added mechanism to reduce [t] before unstressed vowels (for en-us) Fixed X (no vowels) operator in pre-rules in *_rules files. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@35 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -652,11 +652,17 @@ static void SmoothSpect(void)
|
||||
frame = frame2 = (frame_t *)q[2];
|
||||
modified = 0;
|
||||
|
||||
if(frame->frflags & FRFLAG_BREAK)
|
||||
break;
|
||||
|
||||
if(frame->frflags & FRFLAG_FORMANT_RATE)
|
||||
len = (len * 12)/10; // allow slightly greater rate of change for this frame (was 12/10)
|
||||
|
||||
for(pk=0; pk<6; pk++)
|
||||
{
|
||||
if((frame->frflags & FRFLAG_BREAK_LF) && (pk < 3))
|
||||
continue;
|
||||
|
||||
allowed = (formant_rate[pk] * len)/256;
|
||||
|
||||
diff = frame->ffreq[pk] - frame1->ffreq[pk];
|
||||
|
||||
Reference in New Issue
Block a user