In a recording six weeks before he died, a slurred, barely intelligible Michael Jackson told his doctor that he dreamed of building the world’s largest children’s hospital, because “I didn’t have a childhood.”

The recording was played in Los Angeles County Superior Court in its entirety for the first time on Wednesday at the trial of Dr. Conrad Murray, who is charged with involuntary manslaughter and is accused of giving Mr. Jackson an overdose of a powerful anesthetic, propofol, which killed him.

Mr. Jackson, whose voice is so badly slurred on the recording that prosecutors dimmed the lights so people in the courtroom could read a projection of the transcript, fantasized about a comeback tour and using the millions he would earn to build Michael Jackson’s Children’s Hospital, complete with a movie theater and a game room.