A musical-score information generating apparatus having a storing unit for storing music data and image data, wherein the music data contains pitch information for indicating a pitch of each of the musical tones composing a musical piece and the time information for indicating a timing of generation of each musical tone in the musical piece, and the image data represent an image of a musical score of the musical piece, the musical score having musical-score composing elements comprising part lines, staffs, and bar lines, wherein the apparatus comprises: a measure specifying unit (11, 501 to 505) for determining an area and a corresponding number for each measure of the musical score in the image data based on positions of the part lines, the staffs and the bar lines on the musical score; a repeat-mark position specifying unit (11, 505) for specifying repeated measures, based on a sort and position of a repeat mark and the positions of the part lines, the staffs and the bar lines on the musical score;a musical-score element data generating unit (11, 1401 to 1404) for generating musical-score element data containing positions on the musical score where the part lines, the staffs and the bar lines are placed, and areas and the numbers of the measures, and the sorts and positions of the repeat marks specifying repeated measures, and storing the generated musical-score element data in the storing unit; a unit music-data generating unit (11, 1501 to 1503) for dividing the music data based on the time information contained in the music data and for generating plural pieces of unit music data, wherein each of the pieces contains time information and pitch information for one measure; characterised in that the apparatus further comprises: a unit music-data obtaining unit (11, 1504) for removing repeated unit music data from the plural pieces of unit music data based on information relating to the repeat marks contained in the musical-score element data and obtaining a final series of pieces of unit music data, and for associating numbers to the obtained final series of pieces of unit music data, which correspond with the measure numbers of the measures of the musical score in the image data respectively and for storing said final series of pieces of unit music data in the storing unit. wherein the music data contains pitch information for indicating a pitch of each of the musical tones composing a musical piece and the time information for indicating a timing of generation of each musical tone in the musical piece, and the image data represent an image of a musical score of the musical piece, the musical score having musical-score composing elements comprising part lines, staffs, and bar lines, a measure specifying unit (11, 501 to 505) for determining an area and a corresponding number for each measure of the musical score in the image data based on positions of the part lines, the staffs and the bar lines on the musical score; a repeat-mark position specifying unit (11, 505) for specifying repeated measures, based on a sort and position of a repeat mark and the positions of the part lines, the staffs and the bar lines on the musical score;a musical-score element data generating unit (11, 1401 to 1404) for generating musical-score element data containing positions on the musical score where the part lines, the staffs and the bar lines are placed, and areas and the numbers of the measures, and the sorts and positions of the repeat marks specifying repeated measures, and storing the generated musical-score element data in the storing unit; a unit music-data generating unit (11, 1501 to 1503) for dividing the music data based on the time information contained in the music data and for generating plural pieces of unit music data, wherein each of the pieces contains time information and pitch information for one measure; a unit music-data obtaining unit (11, 1504) for removing repeated unit music data from the plural pieces of unit music data based on information relating to the repeat marks contained in the musical-score element data and obtaining a final series of pieces of unit music data, and for associating numbers to the obtained final series of pieces of unit music data, which correspond with the measure numbers of the measures of the musical score in the image data respectively and for storing said final series of pieces of unit music data in the storing unit.