mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user