The absolute first
Thomas Edison is well known for a number of inventions, one of them being how to record and playback sound in 1877. He used a foil cylinder and a stylus attached to a horn. Once the cylinder was recorded, Edison could then play it back.
However, it would not be correct to say that Edison was the first person to record sound. That honor goes to Frenchman Édouard-Léon Scott de Martinville whose earliest recording from 1860 was of someone singing Au Clair de la Lune. He used a soot covered paper in which he traced the audio wave. The problem, though, was that he did not have any means of playing back the audio. Unlike earlier attempts, some going back to 1857, this recording had a 250 hertz tuning fork as part of the recording which allowed modern scientists the ability to calibrate the speed to a certain extent, although the recording device was hand cranked.
It was not until 2008 that scientists were able to play back this recording from 1860. In this clip, the original recording is first, followed by attempts to “clean them up” to make them more intelligible.
Truly a voice from the past.