Subject to changes as the proposed HTML5 standard evolves

HTML5 <audio> Object Demo

This page was updated 11/3/14.

When this tutorial was originally written, it was difficult to find any readable discussion of the HTML5 audio (and video) tags. This has changed. For example, a few of the available sources include:
http://www.w3schools.com/html/html5_audio.asp,
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML5_audio_and_video
http://html5doctor.com/native-audio-in-the-browser/
As a result, the discussion of the Javascript audio API has been removed from this web page because of the extreme difficulties in keeping it accurate and up to date.

Details for HTML5 <audio> and <source> tags with a demo is followed by a Javascript API demo (written in Processing.js)

The Javascript demo illustrates many of the attributes and functions. However, some items like tracks and dates are not covered completely.

This page uses the Java terminology "audio object" for what the HTML5 documentation calls "audio element".

[+/-] HTML5 Audio and Source Tags with a Demo

[+/-] The Javascript Audio API Demo


A tutorial on using the audio API in Processing.js

Revised: 11/3/14