A music production apparatus includes a melody data storage operative to store music data for a plurality of melody elements forming music, a condition storage operative to store a condition for combining melody elements and a condition related to an attribute applicable when playing the melody element, an element selector operative to determine, at a predetermined point of time, whether a melody element should be allocated to a track where no melody elements are allocated, and to select, when it is determined that a melody element should be allocated to the track, a melody element that should be allocated to the track by referring to the condition for combining melody elements stored in the condition storage, an attribute determination unit operative to determine an attribute applicable when playing the selected melody element, and a sound production unit operative to read music data for the selected melody element from the melody data storage, to apply the attribute determined by the attribute determination unit, and to produce a sound signal that should be output to a speaker, using the music data for the melody element allocated to the track.
展开▼