Simplified the keyboard parsing in music_keyboard.