Externs of howler.js for Haxe
Externs of howler.js for Haxe - Modern Web Audio Javascript Library.
haxelib install howlerjs
Please note that these externs are originally created by INSWEATER. I modified a few things and made it available on haxelib.
Look at the samples
folder for the source code of above example.
import howler.Howl;
class Main {
public function new() {
var options:HowlOptions = {};
options.urls = ["sound.mp3", "sound.ogg"];
options.autoplay = false;
options.onload = function() {
snd.play();
};
var snd = new Howl(options);
}
static function main() {
new Main();
}
}
This content is released under the MIT License.
howler.js is written by James Simpson and licensed under the MIT License.