I have made this text-to-audio website with Vanilla JavaScript and I have used the Speech synthesis API.
Check out the completed website -> https://text-to-audio.netlify.app/