The cross-fade from "You Never Give Me Your Money" into the next track, " Sun King", proved to be problematic, and the group made several attempts before deciding to merge the songs via an organ note. On 30 July, a reduction mix was made of the original eight track tape, so further overdubs could be made, and a rough mix of the Abbey Road medley was put together. McCartney overdubbed a lead vocal onto the basic track on 1 July, and further vocals and sound effects were added on 15 July. The basic structure of the song as it appeared on Abbey Road had not been worked out at this stage, and the original recording ran onto a loose jam session, ending up as a fast rock-and-roll instrumental towards the end. The group recorded 36 takes, selecting take 30 as the best, which was made into a rough stereo mix. McCartney sang lead and played piano, Lennon played an Epiphone Casino guitar, George Harrison played a Fender Telecaster guitar fed through a Leslie speaker, and Ringo Starr played drums. Recording started at 3pm and went on until 4am the next morning. The basic backing track was recorded at Olympic Sound Studios in Barnes on. Beatles author Ian MacDonald speculates that the guitar arpeggios at the end of the track were influenced by " I Want You (She's So Heavy)" and the middle section of " Here Comes the Sun", and that the overall structure was inspired by Lennon's " Happiness Is a Warm Gun" from the previous year's album The Beatles, which also joined unrelated song fragments together. Structurally, the music begins with a piano ballad and moves to several other styles, including boogie-woogie piano, arpeggiated guitars and nursery rhyme. Some musical segments of "You Never Give Me Your Money" were reused for the "Golden Slumbers" / "Carry That Weight" portion of the medley, including the opening verses and later guitar arpeggios. McCartney later said that the idea of a song suite was inspired by Keith West's " Excerpt from A Teenage Opera". Realising that Abbey Road could be the group's last album, McCartney and Martin decided to combine various portions of tracks into a medley, which would act as a climactic finale of the group's career. He added that the line "One sweet dream, pack up the bags, get in the limousine" was based on his trips in the country with Linda to get away from the tense atmosphere with the Beatles, though author Walter Everett thought the line was also a nostalgic look at the Beatles' touring years, which had ended in 1966.
McCartney later said that the song was written with Klein in mind, saying "it's basically a song about no faith in the person". He was particularly unhappy at the others, who wanted manager Allen Klein to help resolve financial matters. McCartney had been largely responsible for the group's direction and projects since the death of manager Brian Epstein in 1967, but he began to realise that the group dynamic of the Beatles was unraveling. John Lennon and McCartney were at risk of losing overall control of Northern Songs, the company that published their songs, after ATV Music bought a majority share. This was a break following the Get Back/ Let It Be sessions. The song was written by McCartney when he was staying with his wife Linda in New York in March 1969 shortly after their wedding. Musically, the song is made up of a suite of various segments, ranging from a piano ballad at the beginning through to guitar arpeggios at the end. The backing track was recorded at Olympic Sound Studios in Barnes, London, but the remainder of overdubs occurred at EMI Studios. The song was the first one to be recorded for the medley, which was conceived by McCartney and producer George Martin as a finale for the Beatles' career. The song is the first part of the medley on side two of their 1969 album Abbey Road and was recorded in stages between May and August that year. It was written by Paul McCartney (though credited to Lennon–McCartney) and documented the financial and personal difficulties facing the band. If (Math.floor(Math." You Never Give Me Your Money" is a song by the English rock band the Beatles.