Static variables

staticctx:AudioContext

Expose the AudioContext when using Web Audio.

staticiOSAutoEnable:Bool

Set to false to disable the auto iOS enabler.

staticnoAudio:Bool

No audio is available on this system if this is set to true.

staticusingWebAudio:Bool

This will be true if the Web Audio API is available.

Static methods

staticcodecs (ext:String):Bool

Check for codec support of specific extension.

Parameters:

{String}

ext Audio file extention.

Returns:

{Boolean}

staticinit ():Howler

Initialize the global Howler object.

Returns:

{Howler}

staticmute (muted:Bool):Howler

Handle muting and unmuting globally.

Parameters:

{Boolean}

muted Is muted or not.

staticunload ():Howler

Unload and destroy all currently loaded Howl objects.

Returns:

{Howler}

staticvolume (vol:Float):EitherType<Howler, Float>

Get/set the global volume for all sounds.

Parameters:

{Float}

vol Volume from 0.0 to 1.0.

Returns:

{Howler/Float} Returns self or current volume.