Regardless of which side of the board you're on, it's important to carefully negotiate a music production arrangement to the satisfaction of all parties involved, and it is recommended that such negotiations take place sooner rather than later.
In this recent article from MusicThinkTank, Byron Pascoe outlines seven key components for successfully negotiating a deal with a producer.
"Will master recordings be owned and controlled by the artist? Controlling the masters should include the exclusive rights to manufacture and distribute the masters. Also, for publishing opportunities, if a music supervisor wants to use the recording in an ad, TV series or film, the master use license (from whoever controls the master) is one of the required licenses needed to place the song."