This is currently outdated code. I believe its python 2.7 and an older version of vpython.
Open source 3d working piano model using the libraries VPython and pygame.
-design of 3d piano model using VPython http://vpython.org and pygame with all 88 keys working individually.
-sample song included (check code to find out which keys to press for the song).
-audio was implemented using pygame.mixer and high quality sound files provided by http://theremin.music.uiowa.edu/MISpiano.html
-sound files were edited using http://www.audacityteam.org to meet my required criteria ( duration, size, .aiff to .wav, etc. )