a method of creating a music file comprising a plurality of tracks to be played simultaneously when the music file is played . the method includes creating a main melody track by selecting a respective pitch and duration of a plurality of notes , selecting a style of accompaniment music , retrieving accompaniment tracks for the selected style of accompaniment music from a memory , and combining the main melody track and the accompaniment tracks to create the music file .