2
0

tts_commandline.conf.xml 595 B

123456789101112131415
  1. <configuration name="tts_commandline.conf" description="TextToSpeech Commandline configuration">
  2. <settings>
  3. <!--
  4. Some variables will be replaced :
  5. ${text}: input text (quoted)
  6. ${rate}: sample rate (example: 8000)
  7. ${voice}: voice_name passed to TTS(quoted)
  8. ${file}: output file (quoted, including .wav extension)
  9. Example commands can be found at:
  10. https://freeswitch.org/confluence/display/FREESWITCH/mod_tts_commandline#mod_tts_commandline-Examplecommands
  11. -->
  12. <param name="command" value="echo ${text} | text2wave -f ${rate} > ${file}"/>
  13. </settings>
  14. </configuration>