Handheld musical instrument that follows a user-preset chord pattern