diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
commit | b62e7979600feee23dc7cdb61042a8fc7673122b (patch) | |
tree | f7351372f37979dd2d048e0b68a16a4cd3b2aadb /test/uscxml/applications/spoken-map-ticker.scxml | |
parent | 1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff) | |
download | uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2 |
Major Refactoring v2.0
Diffstat (limited to 'test/uscxml/applications/spoken-map-ticker.scxml')
-rw-r--r-- | test/uscxml/applications/spoken-map-ticker.scxml | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/test/uscxml/applications/spoken-map-ticker.scxml b/test/uscxml/applications/spoken-map-ticker.scxml deleted file mode 100644 index 5a1c0b2..0000000 --- a/test/uscxml/applications/spoken-map-ticker.scxml +++ /dev/null @@ -1,78 +0,0 @@ -<scxml datamodel="ecmascript" name="mapticker" - xmlns:html="http://www.w3.org/1999/xhtml" - xmlns:vxml="http://www.w3.org/2001/vxml" - xmlns="http://www.w3.org/2005/07/scxml"> - - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - - <state id="start"> - <!-- - Invoke an external HTML browser - --> - <invoke type="xhtml" id="xhtml1"> - <content src="spoken-map-ticker.xhtml" /> - <finalize> - <!-- <script>dump(_event);</script> --> - </finalize> - </invoke> - - <!-- - Invoke a VoiceXML browser - --> - <invoke type="vxml" id="vxml" /> - - <!-- - Invoke a uMundo component for pub/sub ticker subscription - --> - <invoke type="umundo" id="umundo"> - <param name="channel" expr="'map/tick'" /> - <finalize> - <!-- <script>dump(_event);</script> --> - </finalize> - </invoke> - - <invoke type="openal" id="audio"></invoke> - - <state id="idle"> - <!-- - Map in XHTML invoker was moved -> update OpenAL listener position - --> - <transition event="map.center" target="idle"> - <send event="move.listener" target="#_audio"> - <param name="x" expr="_event.data.lon" /> - <param name="y" expr="1" /> - <param name="z" expr="_event.data.lat" /> - </send> - </transition> - - <!-- - Ticker message was received - -> Send to XHTML invoker to display - -> Play clicking noise from respective direction - -> Speak content if severity exceeds a given threshold - --> - <transition target="idle" event="umundo.rcvd"> - <send target="#_xhtml1"> - <content>${_event.data}</content> - </send> - <send target="#_audio" event="play" delay="0ms"> - <param name="src" expr="'click.wav'" /> - <param name="x" expr="_event.data.lon" /> - <param name="y" expr="0" /> - <param name="z" expr="_event.data.lat" /> - </send> - - <if cond="_event.data.message && _event.data.severity > 8"> - <send target="#_vxml"> - <content> - <vxml:prompt> - ${_event.data.message} - </vxml:prompt> - </content> - </send> - </if> - - </transition> - </state> - </state> -</scxml>
\ No newline at end of file |