Home

Awesome

Haxelib Version Support these externs on Patreon

haxe howler logo

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

<a rel="license" href="http://opensource.org/licenses/MIT"> <img alt="MIT license" height="40" src="http://upload.wikimedia.org/wikipedia/commons/c/c3/License_icon-mit.svg" /></a>

This content is released under the MIT License.

howler.js is written by James Simpson and licensed under the MIT License.