yep. if you press x while no note is pressed, you will close the piano. otherwise it will play the selected note