Updated the way piano keys are played

Replaced the keyPress event with a keyDown and keyUp event to resolve
the issue where a key that was held down would fire several piano notes
when only one should be played.