demo.xml 650 B

123456789101112131415161718
  1. <include><!--This line will be ignored it's here to validate the xml and is optional -->
  2. <macro name="msgcount">
  3. <input pattern="(.*)">
  4. <match>
  5. <action function="play-file" data="tuas.wav"/>
  6. <action function="say" data="$1" method="pronounced" type="items"/>
  7. <action function="play-file" data="messages.wav"/>
  8. </match>
  9. </input>
  10. </macro>
  11. <macro name="timeleft">
  12. <input pattern="(\d+):(\d+)">
  13. <match>
  14. <action function="speak-text" data="il y a $1 minutes et de $2 secondes de restant"/>
  15. </match>
  16. </input>
  17. </macro>
  18. </include><!--This line will be ignored it's here to validate the xml and is optional -->