sounds.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <include>
  2. <macro name="directory_intro">
  3. <input pattern="^(last_name)" break_on_match="false">
  4. <match>
  5. <action function="play-file" data="directory/dir-enter_person.wav"/>
  6. <action function="play-file" data="directory/dir-last_name.wav"/>
  7. </match>
  8. </input>
  9. <input pattern="^(first_name)" break_on_match="false">
  10. <match>
  11. <action function="play-file" data="directory/dir-enter_person.wav"/>
  12. <action function="play-file" data="directory/dir-first_name.wav"/>
  13. </match>
  14. </input>
  15. <input pattern="^(last_name):([0-9#*])$" break_on_match="false">
  16. <match>
  17. <action function="play-file" data="directory/dir-to_search_by.wav"/>
  18. <action function="play-file" data="directory/dir-first_name.wav"/>
  19. <action function="play-file" data="voicemail/vm-press.wav"/>
  20. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  21. </match>
  22. </input>
  23. <input pattern="^(first_name):([0-9#*])$" break_on_match="false">
  24. <match>
  25. <action function="play-file" data="directory/dir-to_search_by.wav"/>
  26. <action function="play-file" data="directory/dir-last_name.wav"/>
  27. <action function="play-file" data="voicemail/vm-press.wav"/>
  28. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  29. </match>
  30. </input>
  31. </macro>
  32. <macro name="directory_min_search_digits">
  33. <input pattern="^(.*)$">
  34. <match>
  35. <action function="play-file" data="directory/dir-specify_mininum.wav"/>
  36. <action function="say" data="$1" method="pronounced" type="items"/>
  37. <action function="play-file" data="directory/dir-letters_of_person_name.wav"/>
  38. </match>
  39. </input>
  40. </macro>
  41. <macro name="directory_result_count">
  42. <input pattern="^0$" break_on_match="true">
  43. <match>
  44. <action function="play-file" data="directory/dir-no_matching_results.wav"/>
  45. </match>
  46. </input>
  47. <input pattern="^(.*)$">
  48. <match>
  49. <action function="say" data="$1" method="pronounced" type="items"/>
  50. <action function="play-file" data="directory/dir-result_match.wav"/>
  51. </match>
  52. </input>
  53. </macro>
  54. <macro name="directory_result_count_too_large">
  55. <input pattern="^(.*)$">
  56. <match>
  57. <action function="play-file" data="directory/dir-too_many_result.wav"/>
  58. </match>
  59. </input>
  60. </macro>
  61. <macro name="directory_result_last">
  62. <input pattern="^(.*)$">
  63. <match>
  64. <action function="play-file" data="directory/dir-no_more_results.wav"/>
  65. </match>
  66. </input>
  67. </macro>
  68. <macro name="directory_result_item">
  69. <input pattern="^(.*)$">
  70. <match>
  71. <action function="play-file" data="directory/dir-result_number.wav"/>
  72. <action function="say" data="$1" method="pronounced" type="items"/>
  73. </match>
  74. </input>
  75. </macro>
  76. <macro name="directory_result_at">
  77. <input pattern="^(.*)$">
  78. <match>
  79. <action function="play-file" data="directory/dir-at_extension.wav"/>
  80. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  81. </match>
  82. </input>
  83. </macro>
  84. <macro name="directory_result_menu">
  85. <input pattern="^([0-9#*]),([0-9#*]),([0-9#*]),([0-9#*])$">
  86. <match>
  87. <action function="play-file" data="directory/dir-to_select_entry.wav"/>
  88. <action function="play-file" data="voicemail/vm-press.wav"/>
  89. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  90. <action function="play-file" data="directory/dir-for_next.wav"/>
  91. <action function="play-file" data="voicemail/vm-press.wav"/>
  92. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  93. <action function="play-file" data="directory/dir-for_prev.wav"/>
  94. <action function="play-file" data="voicemail/vm-press.wav"/>
  95. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  96. <action function="play-file" data="directory/dir-start_new_search.wav"/>
  97. <action function="play-file" data="voicemail/vm-press.wav"/>
  98. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  99. </match>
  100. </input>
  101. </macro>
  102. <macro name="directory_result_say_name">
  103. <input pattern="^(.*)$">
  104. <match>
  105. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  106. </match>
  107. </input>
  108. </macro>
  109. </include>
  110. <!--
  111. For Emacs:
  112. Local Variables:
  113. mode:xml
  114. indent-tabs-mode:nil
  115. tab-width:2
  116. c-basic-offset:2
  117. End:
  118. For VIM:
  119. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  120. -->