diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-11-07 22:20:09 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-11-07 22:20:09 (GMT) |
commit | da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25 (patch) | |
tree | b285148ab6ca415814d9370148f91736f83c852c /test/src/test-spatial-audio.scxml | |
parent | 0ae6c27d9322208053033d9b19c0ffffed3d99eb (diff) | |
download | uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.zip uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.gz uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.bz2 |
Committing local version again
Diffstat (limited to 'test/src/test-spatial-audio.scxml')
-rw-r--r-- | test/src/test-spatial-audio.scxml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/test/src/test-spatial-audio.scxml b/test/src/test-spatial-audio.scxml deleted file mode 100644 index f800c82..0000000 --- a/test/src/test-spatial-audio.scxml +++ /dev/null @@ -1,68 +0,0 @@ -<scxml datamodel="ecmascript" name="spatial.audio.test"> - <datamodel> - <!-- Alternative to the JSON notation - <data id="spatialAudio" expr="{}" /> - <data id="spatialAudio.id2" expr="{}" /> - <data id="spatialAudio.id2.degree" expr="90" /> - --> - <data id="spatialAudio"> - { - 'id2': { - 'degree': 90 - } - } - </data> - </datamodel> - <state id="click.continuously"> - <initial> - <transition target="ready" /> - </initial> - <invoke type="http://www.smartvortex.eu/mmi/spatial-audio/" src="audio/click.wav" id="spatial-audio.id1"> - <!-- - Explicitly set the start position of an audio source. - Keep in mind that the coordinate system is the same as in OpenGL: - y - | - |___x - / - z - --> - <param name="x" expr="-1.0" /> <!-- leftmost --> - <param name="y" expr="0" /> - <param name="z" expr="0" /> - </invoke> - <invoke type="http://www.smartvortex.eu/mmi/spatial-audio/" src="audio/click.wav" id="spatial-audio.id2"> - <!-- - Set position on a circle. - Unit for circle is "deg" in clockwise order with 0 being directly in front, - or "rad" in counter-clockwise with zero being the rightmost position. - "right", "height" and "front" are aliases for x, y and z respectively. - --> - <param name="circle" expr="spatialAudio.id2.degree + 'deg'" /> <!-- rightmost --> - <param name="height" expr="0.0" /> - </invoke> - <state id="ready"> - <onentry> - <!-- trigger transition in 1 second --> - <send event="spatial-audio.play" delay="1s" /> - </onentry> - <transition target="click" event="spatial-audio.play" /> - <transition target="final" event="quit" /> - </state> - <state id="click"> - <onentry> - <send target="#_spatial-audio.id1" event="play" delay="0ms" /> - <!-- - move position of audio 2 in a circle - --> - <send target="#_spatial-audio.id2" event="play" delay="200ms"> - <param name="circle" expr="spatialAudio.id2.degree + 'deg'" /> - </send> - <script>spatialAudio.id2.degree += 10;</script> - </onentry> - <transition target="ready" /> - </state> - </state> - - <final id="final" /> -</scxml>
\ No newline at end of file |