Arduino voice recorder

Thanks for you reply zoomx.
I had already done what it was written in the link you submitted, but you were right about the microphone. I used a MAX 9814 and the result is better (see attachment 1.zip), even though there is still a background noise.
I also used the MAX 9814 with a new code that I downloaded from here: (APC’s April 2023 issue is on sale now! | TechRadar, Project 18) and I got a similar result (see attachment 2.zip).

1.zip (22.5 KB)

2.zip (125 KB)