Instructions ยท Text to Speech
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Open TextToSpeech.html in the browser. Paste English text, open a UTF-8 .txt file, or choose Open Sample.
- Choose Heart or Michael and adjust Speech Rate. Select Generate Speech. The embedded model opens on the first generation.
- Play the WAV preview, seek, replay or choose Download WAV. Stop Generation cancels the current run and leaves the last completed WAV available.
The embedded Kokoro-82M v1.0 ONNX q8 model includes Heart and Michael for US English. Output is 24 kHz mono PCM WAV.