In country music, for example, songs are usually written in advance of the production stage. Demo recordings will have been made by the writers, often very professional recordings, so that the producers can hear how the song should work.