The “Phonautograph”, Edouard-Léon Scott de Martinville in 1857, 20 years before Edison in France.
https://patch.com/new-jersey/westorange/thomas-edison-park-who-really-invented-sound-recording-video
NOT A PHONOGRAPH!
Good find. . . Thanks.
But, still no idea of recreating the sound. Scott was merely recording the wave of sound on paper as interesting data. He had no thought about how to recreate the sound. Thats not the invention that Edison et. al created in a flash of inspiration. It is, indeed, possible that Edison may have read about Scotts creation of paper records of sound waves and realized that if one could reverse the process. That was the truly creative moment that invented the Edison phonograph that took the world by storm. . . so my point stands.