Abstract:
A method of playing music based on chords in an electronic device is provided. The method includes identifying background music related to a piece of music to load sound source data synchronized with the background music from a memory, reproducing the background music, identifying chords corresponding to the reproduced background music in the sound source data, configuring notes corresponding to the chords as notes corresponding to touch objects displayed on the touch screen, and when the chords are changed, reconfiguring notes corresponding to the changed chords as the notes corresponding to the touch objects.