[1.31.04] lang=zh: adjusted phonemes

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@133 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-01-30 11:18:31 +00:00
parent e69ec3a676
commit b06c02f9cd
41 changed files with 144 additions and 116 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ static TONE_TABLE tone_table[N_TONE_TABLE] = {
20, 25, 32, 24, drops_0, 4, 3, 5, oflow_less, NULL, 14, 8, 0},
{PITCHrise, 30, 20, PITCHfall, 19, 14, // 8 pitch raises at end of sentence
20, 25, 34, 22, drops_0, 3, 3, 5, oflow, NULL, 24, 30, 0},
20, 25, 34, 22, drops_0, 3, 3, 5, oflow, NULL, 20, 26, 0},
{PITCHfrise, 35,11, PITCHfrise2, 32,10, // 9 comma
20, 25, 34, 20, drops_0, 3, 3, 5, oflow, NULL, 19, 24, 0},
+2 -2
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.31.03 26.Jan.08";
const char *version_string = "1.31.04 30.Jan.08";
const int version_phdata = 0x013100;
int option_device_number = -1;
@@ -426,7 +426,7 @@ frameref_t *LookupSpect(PHONEME_TAB *this_ph, PHONEME_TAB *prev_ph, PHONEME_TAB
{
// lookup formant transition for the following phoneme
if(*match_level == 0)
if((*match_level == 0) || (next_ph->type == phNASAL))
{
LookupSound(next_ph,this_ph,1,NULL,1);
seq_len_adjust += FormantTransition2(frames,nf,vowel_transition[2],vowel_transition[3],next_ph,which);