diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2009-07-21 18:17:27 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2009-07-21 18:17:27 -0700 |
commit | 0e684c35978ae1db311baee6e343f71faa2dbbfa (patch) | |
tree | acc2047ccf35ee8364697f712d81d142567bb494 /pico | |
parent | ce9b03d78cf10028173ca4d060eeb603d36373b6 (diff) | |
download | external_svox-0e684c35978ae1db311baee6e343f71faa2dbbfa.zip external_svox-0e684c35978ae1db311baee6e343f71faa2dbbfa.tar.gz external_svox-0e684c35978ae1db311baee6e343f71faa2dbbfa.tar.bz2 |
Lower the synthesis volume values to prevent saturation.
Diffstat (limited to 'pico')
-rw-r--r-- | pico/tts/com_svox_picottsengine.cpp | 2 | ||||
-rwxr-xr-x | pico/tts/svox_ssml_parser.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp index 6d298a6..5dbcb3f 100644 --- a/pico/tts/com_svox_picottsengine.cpp +++ b/pico/tts/com_svox_picottsengine.cpp @@ -60,7 +60,7 @@ using namespace android; /* speaking volume */ #define PICO_MIN_VOLUME 0 #define PICO_MAX_VOLUME 500 -#define PICO_DEF_VOLUME 250 +#define PICO_DEF_VOLUME 120 /* string constants */ #define MAX_OUTBUF_SIZE 128 diff --git a/pico/tts/svox_ssml_parser.cpp b/pico/tts/svox_ssml_parser.cpp index cc64d51..d5c9399 100755 --- a/pico/tts/svox_ssml_parser.cpp +++ b/pico/tts/svox_ssml_parser.cpp @@ -34,9 +34,9 @@ #define SSML_VOLUME_SILENT "0" #define SSML_VOLUME_XLOW "25" #define SSML_VOLUME_LOW "70" -#define SSML_VOLUME_MEDIUM "250" -#define SSML_VOLUME_LOUD "350" -#define SSML_VOLUME_XLOUD "500" +#define SSML_VOLUME_MEDIUM "120" +#define SSML_VOLUME_LOUD "300" +#define SSML_VOLUME_XLOUD "450" #define SSML_BREAK_NONE "0ms" #define SSML_BREAK_XWEAK "100ms" #define SSML_BREAK_WEAK "300ms" |