This sample solution was created for Exercise 2.7B Mini project II - Electronic Keyboard. letter and number keys written on the keyboard are pressed, the corresponding note is played. The space key causes a drum loop to begin, which can be changed to one of three different options by pressing the "p" key. The arrow keys allow the tempo and volume for the keyboard and drum loop to be changed, while the "L" and "O" keys allow the user to cycle forwards and backwards through the different instrument voices.