Web Audio API
The Web Audio API is a relatively new specification that allows for more direct
access to the audio playing in the web browser than is possible with the
<audio>
tag. One day, this
promises to completely alter the way audio is handled in the web browser.
However, at the time of this writing, the Web Audio API is only partially supported in webkit browsers (Chrome, Chrome for Android, Safari
(Mountain Lion), and Safari mobile (iOS)), and support was only being planned for
Firefox. Firefox has its own proprietary audio API named The Audio Data API. Furthermore,
Chrome was the only browser we could find that worked reliably. Still, it
looks like the Web Audio API will become a future standard, and that is
why we are taking a quick look at this emerging technology in this
book.
Get HTML5 Canvas, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.