Prince wrote and composed "When Doves Cry" after all the other tracks were complete on "Purple Rain". In addition to providing vocals, he played all instruments on the track. The song's texture is remarkably stark. There is no bass line, which is very unusual for an '80s dance song; Prince said that there originally was a bass line but, after a conversation with singer Jill Jones, he decided that the song was too conventional with it included. The song features an intro of a guitar solo and a Linn LM-1 drum machine, followed by a looped guttural vocal. After the lyrics, there is another, much longer, guitar and synthesizer solo. The song ends on a classical music-inspired keyboard piece backed by another synthesizer solo. Keyboardist Matt Fink revealed in 2014 that the baroque synthesizer solo was recorded by Prince at half speed and an octave lower against a half-speed backing track, then sped up to create the final version. Fink was then tasked to learn and perform the solo at the album's speed.