Complex sentence: Barrett was musically active for fewer than ten years, when he recorded four singles with Pink Floyd, the debut album (and contributed to the second one), plus several unreleased songs.
Split into simpler sentences: Barrett was musically active for fewer than ten years. He recorded four singles with Pink Floyd, the debut album (and contributed to the second one), plus several unreleased songs.