[1.31.10]

Started voice es-la, Latin American Spanish.
lang zh: more vowel adjustments, "d", "r" syllable, "ng" syllable.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@140 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-02-12 23:06:42 +00:00
parent ab7edfc7f7
commit 2047ce8d7e
26 changed files with 286 additions and 92 deletions
+2 -2
View File
@@ -779,7 +779,7 @@ void Translator::CalcPitches_Tone(int clause_tone)
prev_tph = phoneme_tab[phonPAUSE]; // forget across word boundaries
}
if(p->type == phVOWEL)
if(p->synthflags & SFLAG_SYLLABLE)
{
tone_ph = p->tone_ph;
tph = phoneme_tab[tone_ph];
@@ -855,7 +855,7 @@ void Translator::CalcPitches_Tone(int clause_tone)
p = &phoneme_list[0];
for(ix=0; ix<n_phoneme_list; ix++, p++)
{
if(p->type == phVOWEL)
if(p->synthflags & SFLAG_SYLLABLE)
{
tone_ph = p->tone_ph;
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.31.09 11.Feb.08";
const char *version_string = "1.31.10 12.Feb.08";
const int version_phdata = 0x013105;
int option_device_number = -1;
+1 -1
View File
@@ -225,7 +225,7 @@ Translator *SelectTranslator(const char *name)
case L('e','s'): // Spanish
{
static const short stress_lengths_es[8] = {170, 200, 180, 180, 0, 0, 220, 250};
static const unsigned char stress_amps_es[8] = {16,12, 18,18, 20,22, 22,22 }; // 'diminished' is used to mark a quieter, final unstressed syllable
static const unsigned char stress_amps_es[8] = {16,12, 18,18, 20,20, 20,20 }; // 'diminished' is used to mark a quieter, final unstressed syllable
tr = new Translator();
SetupTranslator(tr,stress_lengths_es,stress_amps_es);
+3 -2
View File
@@ -1491,8 +1491,9 @@ int Translator::TranslateWord2(char *word, WORD_TAB *wtab, int pre_pause, int ne
if(ph_code == phonSYLLABIC)
{
// mark the previous phoneme as a syllabic consonant
ph_list2[n_ph_list2-1].synthflags |= SFLAG_SYLLABLE;
ph_list2[n_ph_list2-1].stress = next_stress;
prev_vowel = n_ph_list2-1;
ph_list2[prev_vowel].synthflags |= SFLAG_SYLLABLE;
ph_list2[prev_vowel].stress = next_stress;
}
else
if(ph_code == phonLENGTHEN)