Cognitive music analysis