Pink Floyd's record deal was a £5,000 advance over five years, low royalties and no free studio time, It included album development, which was very unusual; EMI, unsure of exactly what kind of band they had signed, gave them free rein to record whatever they wanted. They recorded the album at EMI's
Abbey Road Studios in London and their recording room was next to
the Beatles' recording room where the Beatles were recording the album ''
Sgt. Pepper's Lonely Hearts Club Band. Pink Floyd sat in on one Beatles session for the song "Lovely Rita". The Piper at the Gates of Dawn'' was overseen by producer
Norman Smith, a central figure in Pink Floyd's negotiations with EMI.
Balance engineer Pete Bown, who had mentored Smith, helped ensure that the album had a unique sound, through his experimentation with equipment and recording techniques. Bown, assisted by
studio manager David Harris, set up microphones an hour before the sessions began. Bown's microphone choices were mostly different from those used by Smith to record
the Beatles' EMI sessions. Because of the quietness of Barrett's singing, he was placed in a vocal
isolation booth to sing his parts. The album features an unusually heavy use of echo and
reverb to create a unique sound. Much of the reverb came from a set of
Elektro-Mess-Technik plate reverberators – customised EMT 140s containing thin metal plates under tension – and the studio's tiled
echo chamber built in 1931. Barrett's LSD intake escalated part-way through the album's recording sessions. Although in his 2005 autobiography Mason recalled the sessions as relatively trouble-free, Smith disagreed and claimed that Barrett was unresponsive to his suggestions and constructive criticism. In an attempt to build a relationship with the band, Smith played jazz on the piano while the band joined in. These
jam sessions worked well with Waters, who was apparently helpful, and Wright, who was "laid-back". Smith's attempts to connect with Barrett were less productive: "With Syd, I eventually realised I was wasting my time." Smith later admitted that his traditional ideas of music were somewhat at odds with the psychedelic background from which Pink Floyd had come. Nevertheless, he managed to "discourage the live ramble", as band manager
Peter Jenner called it, guiding the band toward producing songs with a more manageable length. Barrett would end up writing eight of the album's songs and contributing to two instrumentals credited to the whole band, with Waters creating the sole remaining composition "Take Up Thy Stethoscope and Walk". Mason recalled how the album "was recorded in what one might call the old-fashioned way: rather quickly. As time went by we started spending longer and longer." with six takes of "
Matilda Mother", then called "Matilda's Mother". The following week, on the 27th, the band recorded five takes of "
Interstellar Overdrive", On 16 March, the band had another go at recording "Interstellar Overdrive", in an attempt to create a shorter version, and "
Flaming" (originally titled "Snowing"), which was recorded in a single take with one vocal overdub. On 19 March, six takes of "
The Gnome" were recorded. The following day, the band recorded Waters' "Take Up Thy Stethoscope and Walk". On 21 March, the band were invited to watch the Beatles record "
Lovely Rita". The following day, they recorded "
The Scarecrow" in one take. The next three tracks – "
Astronomy Dominé", "Interstellar Overdrive" and "
Pow R. Toc H." – were worked on extensively between 21 March and 12 April, having originally been lengthy instrumentals. the band recorded "Percy the Rat Catcher" and a currently unreleased track called "
She Was a Millionaire". "Percy the Rat Catcher" received overdubs across five studio sessions and then was mixed in late June, eventually being given the name "
Lucifer Sam". Songwriting for the majority of the album is credited solely to Barrett, with tracks such as "
Bike" having been written in late 1966 before the album was started. "Bike" was recorded on 21 May 1967 and originally entitled "The Bike Song". By June, Barrett's increasing LSD use during the recording project left him looking visibly debilitated. == Writing and music ==