The end credits say "There was no lip-syncing in this film." That's the literal truth - the performers spoke and sang their lines live on the set, a capella, without any on-set playback. Music was created organically around the performances in post-production.