[1.29.25] <emphasis> tag now changes the intonation to emphasize the specified word.

option_emphasize_allcaps in translate.cpp, if set will emphasize words which are all-capitals.
Changed intonation.cpp.
Added an intonation for sentences which end in an exclamation mark.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@111 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-12-14 10:43:52 +00:00
parent 363753f388
commit 22756f15a6
15 changed files with 345 additions and 392 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ int GetAmplitude(void)
int amp;
// normal, none, reduced, moderate, strong
static const unsigned char amp_emphasis[5] = {16, 16, 8, 16, 26};
static const unsigned char amp_emphasis[5] = {16, 16, 10, 16, 22};
amp = (embedded_value[EMBED_A])*60/100;
general_amplitude = amp * amp_emphasis[embedded_value[EMBED_F]] / 16;