Description

Module to play enabling the playback of .wav files. It utilizes SDL library (http://www.libsdl.org).

Module functions

UPlayer.play("sound.wav"); - play back sound, you can run this function in the background,
UPlayer.stop; - stop the playback,
UPlayer.isPlaying; - returns true if a sound is playing.

Urbiscript example

loadModule("UPlayer");
var player=UPlayer.new;
player.play("music.wav"),

Download

LINK

 

 

EMYS and FLASH are Open Source and distributed according to the GPL v2.0 © Rev. 0.8.0, 27.04.2016

FLASH Documentation