A symbolic approach to music recognition