Answer: “a song”
Reason: According to Grammarly; a direct object is a word or phrase that receives the action of the verb. In this case “played” is the verb because it’s the action the musician is doing and “a song” is the action of what is being played