UNPKG

speak-tts

Version:

Browser TTS (using Web speech API) made easy

24 lines (19 loc) 551 B
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Speak-tts</title> <meta name="description" content="speak-tts by tom-s"/> <meta name="keywords" content="tts, speech synthesis"/> </head> <body> <section id="main" class="main"></section> <h1> Speech synthesis </h1> <h2 id="support"></h2> <div> <textarea id="text" style="width: 500px; height: 300px">Hello, how are you today ?</textarea> <div> <button id="play"> Play </button> <script src="demo.bundle.js"></script> </body> </html>