Analytic processing in the classification of melodies as same or different