[1.36.12]

lang=hr: adjust phonemes [S tS tS; Z dZ dZ;]


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@173 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-04-10 16:25:15 +00:00
parent 00130d6dda
commit cbc23d04c0
27 changed files with 1300 additions and 119 deletions
+8
View File
@@ -908,6 +908,7 @@ void Translator::CalcPitches(int clause_type)
int count;
int n_primary;
int count_primary;
PHONEME_TAB *ph;
int ph_end=n_phoneme_list;
SYLLABLE syllable_tab2[N_PHONEME_LIST];
@@ -1081,6 +1082,13 @@ void Translator::CalcPitches(int clause_type)
p->pitch2 = x;
}
if(p->tone_ph)
{
ph = phoneme_tab[p->tone_ph];
x = (p->pitch1 + p->pitch2)/2;
p->pitch2 = x + ph->end_type;
p->pitch1 = x + ph->start_type;
}
if(syl->flags & SYL_EMPHASIS)
{