[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:
jonsd
2007-06-06 16:03:52 +00:00
parent 0fa20438c1
commit bc7ef71556
29 changed files with 465 additions and 205 deletions
+6
View File
@@ -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];