hxhowlerjs
v0.0.5
Published
Externs of howler.js for Haxe.
Downloads
5
Readme
Externs of howler.js for Haxe - Modern Web Audio Javascript Library.
Installation
haxelib install howlerjs
Demo
Look at the samples
folder for the source code of above example.
Usage
import howler.Howl;
class Main {
public function new() {
var options:HowlOptions = {};
options.src = ["sound.mp3", "sound.ogg"];
options.autoplay = false;
options.loop = true;
var snd:Howl = new Howl(options);
snd.play();
}
static function main() {
new Main();
}
}
Licensing Information
This content is released under the MIT License.
howler.js is written by James Simpson and licensed under the MIT License.