Understanding Music with AI: Perspectives on Music Cognition