A score-driven approach to music information retrieval