Plays a specified sound.
Identifier: play_sound
StopSoundAction
.
<play_sound id="connect_to_server" sound="CONNECT"/> <play_sound id="play_song" sound="xai:/sound/album/sesame_street/mana_mana.mp3?version=1"/>
Stops the currently playing sound.
Identifier: stop_sound
<stop_sound id="stop_sound"/>
Creates speech output based on a text.
Identifier: text_to_speech
To convert the location of the current pick into speech output:
<text_to_speech id="say_location"> <param name="input_to_resolve"><![CDATA[?{"Aisle "+ pickOrder.groups[activeGroup].picks[0].source.label.substring(2,3) +" Location " + pickOrder.groups[activeGroup].picks[0].source.label.substring(4,7)}?]]> </param> </text_to_speech>
To add "Location 5" to the speech output:
<text_to_speech id="say_location"> <param name="input">Location 5</param> </text_to_speech>