[1.29.17] Limit the minimum pitch (including flutter) to 25Hz.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@99 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-11-08 11:07:22 +00:00
parent 960fc6dfdc
commit b8e4fd103a
10 changed files with 69 additions and 22 deletions
+10 -3
View File
@@ -261,7 +261,7 @@ static char nullstring[] = {0};
text_mode = 0;
}
else
if(ix == BITNUM_FLAG_DICTTEXT)
if(ix == BITNUM_FLAG_TEXTMODE)
{
text_not_phonemes = 1;
}
@@ -371,10 +371,17 @@ static char nullstring[] = {0};
return(0); /* blank line */
}
if(text_not_phonemes || text_mode)
if(text_mode)
text_not_phonemes = 1;
if(text_not_phonemes != translator->langopts.textmode)
{
flag_codes[n_flag_codes++] = BITNUM_FLAG_TEXTMODE;
}
if(text_not_phonemes)
{
strcpy(encoded_ph,phonetic); // this is replacement text, so don't encode as phonemes
flag_codes[n_flag_codes++] = BITNUM_FLAG_DICTTEXT;
}
else
{