Audio library for the modern web.
howler.js makes working with audio in JavaScript easy and reliable across all platforms.
Download v2.0.1 Docs
Features
Simplified API
A single, consistent API for all of your audio needs makes building your audio experiences fun and easy.
Audio Sprites
Easily define and control segments of files with audio sprites for more precise playback and lower resources.
Spatial Audio
Whether a simple stereo pan or advanced 3D game audio, howler.js makes it easy to keep it all straight.
Full Codec Support
Supports all browser-ready files: MP3, MPEG, OPUS, OGG, OGA, WAV, AAC, CAF, M4A, MP4, WEBA, WEBM, DOLBY, FLAC.
Works Everywhere
Defaults to Web Audio and falls back to HTML5 Audio to provide full coverage across all browsers and platforms including IE9 and Cordova.
Full Control
Control everything from play, pause and seek to rate, fade and loop, just to name a few.
Auto Caching
Loaded sounds are automatically cached and re-used on subsequent calls for better performance and bandwidth.
Modular
Use only what you need with the new modular architecture. Easily extend the library to add custom features.
Zero Dependencies
howler.js is as light as 7KB gzipped and is 100% JavaScript with no outside dependencies or plugins.
Demos
Music Player
Live Radio
Audio Sprites
Spatial Audio
Basic Functions
Demo Code
Used By
More Users