ARDUINO + musical instrument shield to make a Keyboard

MusicInstrument_Keyboard -- No more Errors

Wow! Thank you very much for all of your suggestions.
The program is finally verified and the program is running with beautiful sounds.

As "note" is also an array, there should has been a suffix.
I did not notice it.
Once again, thank you very much.

Now I'm trying to make an infrared keyboards.
About 6 Infrared beams(38KHz) are emitted and if a peson blocks a beam, the receiver gives a 5V voltage.
This is the signal for the "inputPins" of this "ARDUINO + musical instrument shield."

I'll post within a few days.

Thank you.