A melody analyzer is provided which analyzes a given melody with respect to individual melody notes therein. In an embodiment, chord data in the form of a specific root and type, and tonality data in the form of a specific key note and mode are supplied to the melody analyzer. A chord note generator produces from the supplied chord a pitch class set of chord notes thereof while an available note generator develops from the supplied tonality and chord a pitch class set of available notes. A separator classifies each melody note into a harmonic tone and a nonharmonic tone in accordance with the chord note pitch class set. Another separator labels each melody note with either an available note or an unavailable note in accordance with the available note pitch class set. A motion evaluator evaluates motions in the supplied melody. An inference module having a stored network representative of note classifying knowledge further identifies each available labeled and each unavailable labeled melody note based on the evaluated melody motions from the motion evaluator and the classified results from the separators.
Melody analyzer for analyzing a melody with respect to individual melody notes and melody motion