Repository navigation
TTS v1.0.0 — Self-Contained WebAssembly Release
TTS v1.0.0 (tts.computer)
Single self-contained WebAssembly release (tts.wasm) — zero external WASM imports, zero models, zero audio samples, with the complete JavaScript TTS SDK embedded inside tts.wasm itself.
Release Assets
tts.wasm— standalone self-contained WebAssembly binary (~566 KB gzipped) with internal JSTTSglue (tts_glue_ptr/tts_glue_len) and raw C-ABI exportstts.js— optional ES module loader (import init, { TTS } from "./tts.js")tts.d.ts— full TypeScript declarations
4-Line Single-File HTML Embed (tts.wasm only)
<script type="module">
const { instance: { exports: w } } = await WebAssembly.instantiateStreaming(fetch("./tts.wasm"));
const { TTS } = Function("wasm", new TextDecoder().decode(new Uint8Array(w.memory.buffer, w.tts_glue_ptr(), w.tts_glue_len())))(w);
const voice = new TTS();
await voice.play("Hello from tts.computer!");
</script>