To provide the film with its jittering heartbeat, the director worked closely with Jon Brion, a producer and instrumentalist renowned for his collaborations with a wide range of artists, including Rufus Wainwright, Aimee Mann, and Fiona Apple.