About

Waud is a simple and powerful web audio library that allows you to go beyond HTML5's <audio> tag and easily take advantage of Web Audio API.

The Web Audio API provides a powerful and versatile system for controlling audio capabilities of your web application. Waud abstracts Web Audio API making it consistent and reliable across multiple platforms and browsers.

It also falls back to HTML5 Audio on non-modern browsers where Web Audio API is not supported.

Tested on multiple platforms (iOS, Android & Desktop) and browser versions (Chrome, IE, Edge, Firefox, Safari, Opera & Yandex) with the support of BrowserStack.

Next

Features

  • Base64 Pack

  • Audio Sprites

  • iOS Audio Unlock 1

  • Auto Mute 2

  • Simple API

  • No Dependencies


  • 1 Automatically unlocks audio on iOS devices on first touch.
    2 Automatically mutes audio when the window is not in focus.

Next

Tools

Waud supports base64 decoding across all browsers including IE 9. Use waudbase64 to generate base64 encoded JSON file. You can pack multiple sounds into a single JSON file very similar to audio sprites. Click here for more information.

npm install -g waudbase64

Waud also supports audio sprites. Use waudsprite to generate audio sprites. It will combine multiple audio files into a single file and genetates a config JSON with the details of each sound.

npm install -g waudsprite
Waudbase64 is recommended over Waudsprite in terms of stability and reliability across all browsers.
Next

Player

NO AUDIO

Sounds from orangefreesounds.com

 

Note that the audio visualisation only works with Web Audio API so HTML5 audio fallback is disabled in this player.

Next