Web Audio API

Allows manipulation and analysation of audio data (files or streams), as well as play back controls.

Uses

  • Sound effects (animations/hovers etc...)
  • Controlling audio playpback

Example

var audioContext = (window.AudioContext || 
window.webkitAudioContext || window.mozAudioContext);

if (audioContext) {
  // Web Audio API is available.
  var myAudioContext = new audioContext();
}

// Control volume
myAudioContext.createGain();
// Create filter
myAudioContext.createBiquadFilter();
// Create sound
myAudioContext.createOscillator();
// Create analyser
var analyser = myAudioContext.createAnalyser();

// There's more, plus each of the above contain lots of methods - see links for more info.