Can musical instruments under the effect of Animate Objects be used to make music?

Can Animate Objects be used to make musical instruments produce that instrument’s music?

The spell’s description is a bit vague as to how much control you have over animated objects for non-combat purposes.

Wind instruments probably wouldn’t work but I’d assume mechanical instruments could work, such as accordions or drums.