<varname="defaultVoice"type="String"value="'Liam'"/><stateid="VoiceGesture"><!-- State that will change to a specific voice, perform a voice-gesture, and then change back to the default voice --><paramname="gesture"type="String"/><onentry><sendevent="action.voice"p:name="'william'"/><agent:say><expr>gesture</expr></agent:say><sendevent="action.voice"p:name="defaultVoice"/><return/></onentry></state><stateid="Start"><onentry><agent:say>Hello there</agent:say><callstate="VoiceGesture"p:gesture="'GESTURE_LAUGH_4'"/><agent:say>Goodbye</agent:say></onentry></state>
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.