What’s Next?

This is not a book about the HTML5 <audio> tag, so we did not cover every aspect of that new feature. Instead, we focused on the elements of audio that could be used with HTML5 Canvas. We created two in-depth applications that make use of sound with HTML5 Canvas in very different ways: an audio player that plays one song, and a game that plays many sounds dynamically. During that process, we learned that audio in HTML5, while being a wonderful new feature, is not without its pitfalls and gotchas.

In the next two chapters, we will expand upon the last section we presented here and discuss how to implement games on HTML5 Canvas.

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.