eSpeak NG source for chessGM voice packs

Last checked 2026-10-08. Plain-text version: SOURCE.txt.

What the program is

When you download an HD voice pack (Settings › Voices), chessGM has your browser fetch the npm package @diffusionstudio/piper-wasm version 1.0.0 from jsDelivr. Its three files are one program, piper_phonemize: piper-phonemize with eSpeak NG statically linked in, compiled to WebAssembly with Emscripten 3.1.47. The .data file is the compiled eSpeak NG voice data. The program turns text into phonemes.

FileBytesSHA-256
piper_phonemize.js120,714fef0c2fc442d24fdef5c7c7cc37d5da2314407640fe11ab1bfe347c723dff19b
piper_phonemize.wasm635,212b777cd107a91d2bcc6a1ea46f2c26a662a7407394fe84589198aeaa83dd7a9d6
piper_phonemize.data18,077,24929f1025eb23a5b5c192cd14a6efbce4509402ff265405072ee6f7d1a09b78f8c

chessGM did not build or modify these files. We use them as published.

Licences

The npm package says “MIT”. That is wrong for the combined program: because it contains eSpeak NG, it may only be conveyed under the GPL-3.0. You may copy, modify and redistribute it under that licence. It comes with no warranty, to the extent permitted by law.

Licence text: our copy (gpl-3.0.txt) · gnu.org/licenses/gpl-3.0.html

Corresponding Source

eSpeak NG compiled into the .wasm
rhasspy/espeak-ng, commit 0f65aa301e0d6bae5e172cc74197d32a6182200f. piper-phonemize's CMakeLists.txt downloads exactly this commit.
.tar.gz (SHA-256 37ebbabb010200be8ec26c61b770e93f964f4503a329d7d74c239a1a40051e43) · .zip (SHA-256 150fc955926a084a77ebe25c9e8287bde2e2a17bbf9b23a25c147b556837949f)
eSpeak NG voice data in the .data file
rhasspy/espeak-ng, commit 8593723f10cfd9befd50de447f14bf0a9d2a14a4, the final commit of the fork, which was archived on 2023-11-29. The build cloned the branch head without pinning a commit; the fork was already archived when the package was built, so this was the only possible head.
.tar.gz (SHA-256 41c199da1355deec93eab6065be99d00b938dd452e78f282ab481db91657e4e4)
piper-phonemize
wide-video/piper-phonemize, branch wide.video, commit cfff8e52ebaea37c7e953ae2d06b174acb827ac4 (last push 2024-04-02, before the package was built).
.tar.gz (SHA-256 7029b52aabc2512d36f4d98c6ede732c48a0e7128d0cd0e62379dfcee770038e)
Build patch and script
build.patch: the one change to eSpeak NG source code, as a unified diff, plus notes on the two other edits made by the build (Emscripten's wchar.h and a generated Makefile).
build.sh: the build steps from the package README (after wide-video/piper-wasm), pinned to the commits above. Lines marked [chessGM] are our reconstruction.
Compiler: Emscripten 3.1.47, in a Debian 11.3 container.

How chessGM uses it

chessGM runs piper_phonemize as a separate program. It starts the program's main() with command-line arguments and reads the phonemes the program prints on standard output. It does not link to eSpeak NG or call its functions.

Availability

We keep this source available for as long as chessGM offers the on-device voice packs, and for at least three years after. If a link stops working, write to the contact address on chessgm.22softwares.com/privacy and we will send you the complete source.