summaryrefslogtreecommitdiffstats
path: root/pico
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-07-21 18:17:27 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-07-21 18:17:27 -0700
commit0e684c35978ae1db311baee6e343f71faa2dbbfa (patch)
treeacc2047ccf35ee8364697f712d81d142567bb494 /pico
parentce9b03d78cf10028173ca4d060eeb603d36373b6 (diff)
downloadexternal_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.cpp2
-rwxr-xr-xpico/tts/svox_ssml_parser.cpp6
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"