O'Reilly logo

HTML5 Web Application Development By Example Beginner's guide by J.M. Gustafson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Playing a song

Now that we have an audio sequencer, we can go into the game panel and add some code to play a song in practice mode. As the song plays it will press the correct keys on the screen, just like a player piano. Later we will add code to check for player interaction to see how good they follow along with the song.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required