The first machine capable of recording and reproducing sound was invented in 1877 by Thomas Edison. Known as the phonograph, it used a cylinder wrapped in tinfoil to record sound waves. The sound was recorded as a series of indentations in the tinfoil, and it could be played back by running a stylus over the indentations.