]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODASRTTS-21
authorBrian West <brian@freeswitch.org>
Mon, 21 Sep 2009 09:43:47 +0000 (09:43 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 21 Sep 2009 09:43:47 +0000 (09:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14932 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/tts_commandline.conf.xml

index 5f09778a8f82ee05d05c4ff031b746569cf7b952..eb816431beb29d7f0f07e4f35770f14e265174a2 100644 (file)
@@ -2,10 +2,14 @@
     <settings>
        <!--
        Some variables will be replaced :
-       ${text}: input text
-       ${voice}: voice_name passed to TTS
-       ${file}: output file (.wav)
+       ${text}: input text (quoted)
+       ${rate}: sample rate (example: 8000)
+       ${voice}: voice_name passed to TTS(quoted)
+       ${file}: output file (quoted, including .wav extension)
+    
+    Example commands can be found at:
+    http://wiki.freeswitch.org/wiki/Mod_tts_commandline#Example_commands
        -->
-       <param name="command" value="echo '${text}' | text2wave -f ${rate} > '${file}'"/>
+       <param name="command" value="echo ${text} | text2wave -f ${rate} > ${file}"/>
     </settings>
 </configuration>