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 *

20 − two =

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

You May Also Like

WYSIHTML5 – A better approach to rich text editing

wysihtml5 is an open source rich text editor based on HTML5 technology and the progressive-enhancement approach. It uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.