Piano
Piano Launch Piano
(Chapter 6)
Application Piano displays a virtual piano keyboard. When you move the mouse over a key, that key displays a cirlce indicator. When you click a key, you'll hear the synthesized note corresponding to the selected key.

The Play button plays the notes currently in the note buffer. By default, you will hear a predefined sequence of notes (the opening phrase of 1761 French melody 'Ah! Vous dirai-je, Maman' also known as 'Twinkle, Twinkle, Little Star').

This application shows you how to use inheritance to create well-designed custom graphical objects.