eSpeak NG in chessGM's on-device voice packs: licence and Corresponding Source ============================================================================== Last checked: 2026-10-08 1. 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 the jsDelivr CDN: File Bytes SHA-256 https://cdn.jsdelivr.net/npm/@diffusionstudio/piper-wasm@1.0.0/build/piper_phonemize.js 120714 fef0c2fc442d24fdef5c7c7cc37d5da2314407640fe11ab1bfe347c723dff19b https://cdn.jsdelivr.net/npm/@diffusionstudio/piper-wasm@1.0.0/build/piper_phonemize.wasm 635212 b777cd107a91d2bcc6a1ea46f2c26a662a7407394fe84589198aeaa83dd7a9d6 https://cdn.jsdelivr.net/npm/@diffusionstudio/piper-wasm@1.0.0/build/piper_phonemize.data 18077249 29f1025eb23a5b5c192cd14a6efbce4509402ff265405072ee6f7d1a09b78f8c (npm tarball: https://registry.npmjs.org/@diffusionstudio/piper-wasm/-/piper-wasm-1.0.0.tgz, SHA-256 e5be7f15b3ec42b09fca3616db2ce3e2cf83faacc9c291c400ccf48a9d85c803; the three files above are byte-identical to the ones in it.) These files are one program, piper_phonemize: piper-phonemize with eSpeak NG statically linked in, compiled to WebAssembly with Emscripten 3.1.47. piper_phonemize.data is the compiled eSpeak NG voice data (espeak-ng-data). The program turns text into phonemes. The voice model then turns the phonemes into speech. chessGM did not build or modify these files. We use them as published. 2. LICENCES ----------- eSpeak NG (rhasspy/espeak-ng fork) GNU General Public License v3.0 or later (GPL-3.0-or-later), including the espeak-ng-data in piper_phonemize.data piper-phonemize (wide-video fork of MIT rhasspy/piper-phonemize) The npm package's "license" field says "MIT". That is wrong for the combined work: the .wasm and .data contain GPL-licensed eSpeak NG, so piper_phonemize as a whole may only be conveyed under the GPL-3.0. You may copy, modify and redistribute it under that licence. Full licence text: https://chessgm.22softwares.com/licenses/gpl-3.0.txt (copy kept by us) https://www.gnu.org/licenses/gpl-3.0.html There is NO WARRANTY for this program, to the extent permitted by law (GPL-3.0 sections 15 and 16). 3. CORRESPONDING SOURCE ----------------------- a) eSpeak NG compiled into piper_phonemize.wasm Repository: https://github.com/rhasspy/espeak-ng (fork of espeak-ng/espeak-ng; archived on 2023-11-29, read-only since) Commit: 0f65aa301e0d6bae5e172cc74197d32a6182200f (2023-09-13) Archive: https://github.com/rhasspy/espeak-ng/archive/0f65aa301e0d6bae5e172cc74197d32a6182200f.tar.gz SHA-256 37ebbabb010200be8ec26c61b770e93f964f4503a329d7d74c239a1a40051e43 https://github.com/rhasspy/espeak-ng/archive/0f65aa301e0d6bae5e172cc74197d32a6182200f.zip SHA-256 150fc955926a084a77ebe25c9e8287bde2e2a17bbf9b23a25c147b556837949f (the .zip is the exact URL the build downloads; both archives hold the same tree) Why this commit: piper-phonemize's CMakeLists.txt (below) downloads exactly this URL in its ExternalProject_Add(espeak_ng_external ...) step. b) eSpeak NG voice data in piper_phonemize.data Repository: https://github.com/rhasspy/espeak-ng Commit: 8593723f10cfd9befd50de447f14bf0a9d2a14a4 (2023-11-27, final commit of the archived fork's master branch) Archive: https://github.com/rhasspy/espeak-ng/archive/8593723f10cfd9befd50de447f14bf0a9d2a14a4.tar.gz SHA-256 41c199da1355deec93eab6065be99d00b938dd452e78f282ab481db91657e4e4 Why this commit: the build compiles the data with a native build of `git clone --depth 1 https://github.com/rhasspy/espeak-ng.git` (no pinned commit) and packs its espeak-ng-data directory into the .data file. The fork was archived on 2023-11-29, before the package was built (June/July 2024), so that clone could only have been this commit. It is 9 commits after (a); those commits change build files only (CMake, compat headers), not the dictionary or phoneme sources. c) piper-phonemize Repository: https://github.com/wide-video/piper-phonemize (fork of rhasspy/piper-phonemize) Branch: wide.video (the default branch) Commit: cfff8e52ebaea37c7e953ae2d06b174acb827ac4 (2024-04-02, "wasm related updates") Archive: https://github.com/wide-video/piper-phonemize/archive/cfff8e52ebaea37c7e953ae2d06b174acb827ac4.tar.gz SHA-256 7029b52aabc2512d36f4d98c6ede732c48a0e7128d0cd0e62379dfcee770038e Why this commit: the build clones the default branch with --depth 1 (no pinned commit). The branch head has been this commit since its last push on 2024-04-02, before the package was built. d) Build patch and build script https://chessgm.22softwares.com/licenses/espeak-ng/build.patch Unified diff against (a): the one change made to eSpeak NG source code (comments out "using namespace std;" in src/speechPlayer/src/speechWaveGenerator.cpp). It also describes the two other edits the build makes, to the Emscripten toolchain header wchar.h and to a CMake-generated Makefile. https://chessgm.22softwares.com/licenses/espeak-ng/build.sh The build steps from the package README (copied from the wide-video/piper-wasm README, https://github.com/wide-video/piper-wasm), with the sed commands verbatim, pinned to the commits above. Lines marked [chessGM] are our reconstruction. Compiler: Emscripten 3.1.47 (emsdk tag 3.1.47; emscripten commit 431685f05c67f0424c11473cc16798b9587bb536), Debian 11.3 build container. Original build notes: https://cdn.jsdelivr.net/npm/@diffusionstudio/piper-wasm@1.0.0/README.md Package repository: https://github.com/diffusion-studio/piper-wasm (commit 69522c832bd52d7c16389e9a8aee568065027689, the npm gitHead) 4. HOW CHESSGM USES IT ---------------------- chessGM's own code runs piper_phonemize as a separate program. It starts the program's main() with command-line arguments (voice, input text as JSON, data path) and reads the phonemes it prints on standard output. chessGM does not link to eSpeak NG or call its functions, and the program keeps its own WebAssembly memory. chessGM's code and the voice models are separate works under their own licences. 5. HOW LONG THIS SOURCE STAYS AVAILABLE --------------------------------------- We keep this page, the build patch and script, and copies of the source archives listed above available for as long as chessGM offers the on-device voice packs, and for at least three years after we stop offering them. If any link above stops working, write to the contact address on https://chessgm.22softwares.com/privacy (currently info@22softwares.com) and we will send you the complete source, at no charge beyond the cost of physically providing it. Copies kept by us (identical archives, mirrored on 8 Oct 2026; SHA-256): https://chessgm.22softwares.com/licenses/espeak-ng/src/espeak-ng-0f65aa301e0d6bae5e172cc74197d32a6182200f.tar.gz 37ebbabb010200be8ec26c61b770e93f964f4503a329d7d74c239a1a40051e43 https://chessgm.22softwares.com/licenses/espeak-ng/src/espeak-ng-8593723f10cfd9befd50de447f14bf0a9d2a14a4.tar.gz 41c199da1355deec93eab6065be99d00b938dd452e78f282ab481db91657e4e4 https://chessgm.22softwares.com/licenses/espeak-ng/src/piper-phonemize-cfff8e52ebaea37c7e953ae2d06b174acb827ac4.tar.gz 7029b52aabc2512d36f4d98c6ede732c48a0e7128d0cd0e62379dfcee770038e