additional configuration files
authormazilo <mazilo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 17 Jun 2011 15:44:29 +0000 (15:44 +0000)
committermazilo <mazilo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 17 Jun 2011 15:44:29 +0000 (15:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27204 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/freeswitch/files/etc.packages/tts_commandline/autoload_configs/tts_commandline.conf.xml [new file with mode: 0644]

diff --git a/net/freeswitch/files/etc.packages/tts_commandline/autoload_configs/tts_commandline.conf.xml b/net/freeswitch/files/etc.packages/tts_commandline/autoload_configs/tts_commandline.conf.xml
new file mode 100644 (file)
index 0000000..eb81643
--- /dev/null
@@ -0,0 +1,15 @@
+<configuration name="tts_commandline.conf" description="TextToSpeech Commandline configuration">
+    <settings>
+       <!--
+       Some variables will be replaced :
+       ${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}"/>
+    </settings>
+</configuration>