Story 
"Yer Blues" is a song by the English rock band the Beatles, from their 1968 double album The Beatles. Though credited to Lennon–McCartney, the song was written and composed by John Lennon during the Beatles' retreat in Rishikesh, India. The song is a parody of blues music, specifically English imitators of blues. [Wikipedia]
Yer Blues is a song by The Beatles, written by Lennon and led on vocal by John Lennon. Recorded in a tiny tape-cupboard at Abbey Road; suicidal blues parody/genuine cry. John Lennon's blues parody recorded in an unlikely location—a tiny tape-cupboard at Abbey Road—became one of the White Album's most distinctive sonic artifacts. The cupboard recording generated extraordinary acoustic properties: the confined space forced innovative microphone placement and produced a raw, unpolished vocal tone that complemented the blues-parody subject matter perfectly. Lennon's opening line 'Yes, I'm lonely, wanna die' combined genuine emotional excavation with ironic blues convention-flouting. Lennon's thoroughly Lennonesque study in word imagery subverts the British blues-rock vogue then in motion. (Kozinn 1995, p.183)
The session work falls within the band's The White Album (1968) period, recorded 13 Aug 1968 at EMI Studios + Trident Studios (Soho). George Martin (with Chris Thomas covering) produced; Ken Scott (early), Geoff Emerick walked off — replaced engineered. Engineer Ken Scott recalled the cupboard session vividly: 'Bloody hell, the way you lot are carrying on you'll be wanting to record everything in the room next door!' When Lennon seized on this joke, Scott and the Beatles improvised: 'That's a great idea, let's try it on the next number!' The resulting recording captured all four Beatles' instruments in the cramped space with minimal acoustic treatment, creating the track's distinctive compressed, urgent vocal and instrumental tone.
Ken Scott's engineering in the tape cupboard session captured raw vocal aggression with minimal acoustic treatment, relying on proximity and tape saturation to achieve urgency. (Emerick 2006, p.not cited) The tight E minor framework exploits the recording's compressed cupboard acoustics, forcing harmonic intensity through spatial constraint. (MacDonald 1994, p.132)