Text-to-Speech

Text-to-Speech Converter var textInput = document.getElementById("textInput"); var speakButton = document.getElementById("speakButton"); speakButton.addEventListener("click", function () { var speech = new SpeechSynthesisUtterance(textInput.value); speech.lang = "en-US"; speech.volume = 1; speech.rate = 1; speech.pitch = 1; window.speechSynthesis.speak(speech); }); FREE TEXT TO SPEECH CONVERTER

Comments

Popular Posts