The Web Audio API that is developed by Google is easier to work with and has more features compared to alternatives.

Howler.js

Howler.js is a JavaScript library that works with Web Audio API by default and falls back to HTML5 Audio when not supported.

It accepts multiple file formats for cross-browser compatibility, has caching and can play many sounds at the same time (it is also mute/un-mute them one-by-one or globally).

The sounds can be looped, a fadeIn/fadeOut effect exists and standard media controls are just a part of the library.

It is lightweight (5kb), has support for chaining methods and doesn’t require any JS frameworks.

Compatibility: All Major Browsers
Website: http://goldfirestudios.com/blog/104/howler.js
Download: https://github.com/goldfire/howler.js
Requirements: No Requirements
0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

one × 1 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

QUOjs – Micro JavaScript Library

QuoJS is a micro, modular, Object-Oriented and concise JavaScript Library that simplifies HTML document traversing, event handling, and Ajax interactions for rapid mobile web development. It allows you to write powerful, flexible and cross-browser code with its elegant, well documented, and micro coherent API.