is it all decided before production?
the road map, exact melody/lyric/chords, and tempo, are established before recording. and maybe some other relevant details akin to what you might see in script notes. (alex appears to be kind of angry when reading the next line, etc). and then in production it would be up to the director as to exactly how to accomplish what the writing calls for