An musical information analyzing apparatus operates in a data-processing manner and segments a melody of a given music into phrases so that each phrase should be recognized by the human ear as a note string to be demarcated in grasping musical sensation, detects a musical scale prevailing in the phrase and determines a key of the phrase. In the phrase segmentation process, a rest duration datum is added to the preceding note duration datum. An average note duration is computed, and notes having a long duration with respect to the average note duration is set to constitute the phrase end. Several adjustments are conducted to improve the segmentation. The scale is detected by computing a scale establishment rate based on the note use rate in the phrase. An adjustment is performed to smooth the musical flow. A key is determined by computing a major/minor degree of the notes. The scale detection and the key determination is performed viewing through plural phrases to provide areal recognition by eliminating phrase-to-phrase fluctuation.
Musical information analyzing apparatus