Full code snippet: rendering WAV with Kale TTS in ~20 lines of transformers.js
NERDDISCO · x · 2026-11-20
Kale TTS runs in browser and Node via transformers.js, and NERDDISCO shares a complete snippet: load StyleTextToSpeech2Model, prepare sentence-by-sentence inputs, build Tensors, get a Float32 waveform at 24 kHz, and write hello.wav — identical for tiny and nano. He also nudges maintainers to merge PR #1879, the onnxruntime 1.31.1 bump (which fixes Gemma 4 QMoE and sliding-window attention on WebGPU per #1839), worth 20% faster CPU inference.
More from coding & agent
- Formal verification of x86 code: failed proofs led straight to real glibc bugs — moyix · 2026-11-20
- Kale TTS roadmap: mlx-audio, llama.cpp and audio.cpp integrations already running — NERDDISCO · 2026-11-20
- hermes-browser-bridge: drive your logged-in browser via MCP without a debug port — paq85 · 2026-11-20
- Agentic GraphRAG: open-source 3-layer knowledge graph for agent memory and provenance — Aggressive-Judge-448 · 2026-11-20
- One-command plugin pipes a GitHub Copilot subscription into Hermes Agent without a hand-run proxy — paq85 · 2026-11-20
- M365 Copilot License Now Unlocks Copilot CLI, Bringing Agents to Non-Engineers — mariorod1 · 2026-11-20