The theme song "Nobody Does It Better" was composed by Marvin Hamlisch with lyrics by Carole Bayer Sager, and was performed by Carly Simon.
Hamlisch states in the documentary on the film's DVD that the song's opening bars were influenced by a riff in a Mozart tune.
The theme song became a hit that is still popular today and has been featured in numerous films including Mr. & Mrs. Smith (2005), Little Black Book (2004), Lost in Translation and Bridget Jones: The Edge of Reason (2004).
The accompanying Hamlisch music echoes Barry's "Stalking," from the pre-credit fantasy sequence of From Russia with Love, featuring Bond (Sean Connery) and villain Red Grant (Robert Shaw).
The soundtrack album uses a different 'medley' version, slower in pace, which features aspects of most of the variations of the track used throughout the film, compiled into one piece.
2" by Chopin crops up later, when Bond first meets Stromberg, as reportedly does an excerpt from Saint-Saëns' "The Aquarium" from The Carnival of the Animals.
[citation needed] Finally, Hamlisch segued his score into an excerpt from that of David Lean's 1962 film Lawrence of Arabia when Bond and Anya Amasova are wandering through the desert; according to a documentary on the DVD, this idea was originally a joke by one of the film editors who played the music over the dailies of the scene.