diff options
Diffstat (limited to 'test/uscxml/test-openal.scxml')
-rw-r--r-- | test/uscxml/test-openal.scxml | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/test/uscxml/test-openal.scxml b/test/uscxml/test-openal.scxml deleted file mode 100644 index b17e34b..0000000 --- a/test/uscxml/test-openal.scxml +++ /dev/null @@ -1,125 +0,0 @@ -<scxml datamodel="ecmascript" name="spatial.audio.test"> - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - <script> - var audioPos = 0; - var audioURL = "http://uscxml.tk.informatik.tu-darmstadt.de/audio"; - </script> - <state id="audiotests"> - <invoke type="openal" id="audio" /> - <state id="ready"> - <onentry> - <send event="start" delay="10ms" /> - <log expr="'Ready'" /> - </onentry> - <transition target="wav" event="spatial-audio.play" /> - <parallel id="start"> - <state id="move.audio"> - <send target="#_audio" event="move.source"> - </send> - </state> - <state id="play.audio"> - <state id="wav"> - <state id="11025-8bit-wav"> - <onentry> - <log expr="'11025-8bit-wav'" /> - <send target="#_audio" event="play" delay="10ms"><param name="src" expr="audioURL + '/wav/11025-8bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="22050-8bit-wav" /> - </state> - <state id="22050-8bit-wav"> - <onentry> - <log expr="'22050-8bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/22050-8bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="44100-8bit-wav" /> - </state> - <state id="44100-8bit-wav"> - <onentry> - <log expr="'44100-8bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/44100-8bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="11025-16bit-wav" /> - </state> - <state id="11025-16bit-wav"> - <onentry> - <log expr="'11025-16bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/11025-16bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="22050-16bit-wav" /> - </state> - <state id="22050-16bit-wav"> - <onentry> - <log expr="'22050-16bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/22050-16bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="44100-16bit-wav" /> - </state> - <state id="44100-16bit-wav"> - <onentry> - <log expr="'44100-16bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/44100-16bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="11025-24bit-wav" /> - </state> - <state id="11025-24bit-wav"> - <onentry> - <log expr="'11025-24bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/11025-24bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="22050-24bit-wav" /> - </state> - <state id="22050-24bit-wav"> - <onentry> - <log expr="'22050-24bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/22050-24bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="44100-24bit-wav" /> - </state> - <state id="44100-24bit-wav"> - <onentry> - <log expr="'44100-24bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/44100-24bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="11025-32bit-wav" /> - </state> - <state id="11025-32bit-wav"> - <onentry> - <log expr="'11025-32bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/11025-32bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="22050-32bit-wav" /> - </state> - <state id="22050-32bit-wav"> - <onentry> - <log expr="'22050-32bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/22050-32bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="44100-32bit-wav" /> - </state> - <state id="44100-32bit-wav"> - <onentry> - <log expr="'44100-32bit-wav'" /> - <send target="#_audio" event="play"><param name="src" expr="audioURL + '/wav/44100-32bit-mono.wav'" /></send> - </onentry> - <transition event="audio.end" target="final" /> - </state> - </state> - <state id="caf"> - </state> - <state id="flac"> - </state> - <state id="mp3"> - </state> - <state id="ogg"> - </state> - <state id="aiff"> - </state> - </state> - </parallel> - </state> - <transition event="error.*" target="final"> - <log expr="dump(_event);" /> - </transition> - </state> - <final id="final" /> -</scxml>
\ No newline at end of file |