 Barrett was musically active for less than ten years . With Pink Floyd , he recorded four singles , their debut album ( and contributed to the second one ) , and several unreleased songs . Barrett began his solo career in 1969 with the single " Octopus " from his first solo album , The Madcap Laughs ( 1970 ) . The album was recorded over the course of a year with five different producers ( Peter Jenner , Malcolm Jones , David Gilmour , Roger Waters and Barrett himself ) . Nearly two months after Madcap was released , Barrett began working on his second and final album , Barrett ( 1970 ) , produced by Gilmour and featuring contributions from Richard Wright . He went into self @-@ imposed seclusion until his death in 2006 . In 1988 , an album of unreleased tracks and outtakes , Opel , was released by EMI with Barrett 's approval . 
