2009-09-15 20:40:13 +00:00
|
|
|
<configuration name="tts_commandline.conf" description="TextToSpeech Commandline configuration">
|
|
|
|
<settings>
|
|
|
|
<!--
|
|
|
|
Some variables will be replaced :
|
2009-09-21 09:43:47 +00:00
|
|
|
${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:
|
2020-05-18 18:00:49 +00:00
|
|
|
https://freeswitch.org/confluence/display/FREESWITCH/mod_tts_commandline#mod_tts_commandline-Examplecommands
|
2009-09-15 20:40:13 +00:00
|
|
|
-->
|
2009-09-21 09:43:47 +00:00
|
|
|
<param name="command" value="echo ${text} | text2wave -f ${rate} > ${file}"/>
|
2009-09-15 20:40:13 +00:00
|
|
|
</settings>
|
|
|
|
</configuration>
|