Lyrila browser phonemizer: eSpeak NG / Echogarden Emscripten port
Licence: GNU General Public License, version 3 or later. Commercial use is
permitted under those terms. No royalties are charged by this licence.
The full terms and warranty notice are in ESPEAK-LICENSE.txt.

Pinned supplier binary:
https://github.com/echogarden-project/espeak-ng-emscripten/tree/1e8ad5dd0cde36e56352b010a2247ba15b459c9a
Original inputs (unmodified embedded WASM, generated JavaScript and packaged data):
https://raw.githubusercontent.com/echogarden-project/espeak-ng-emscripten/1e8ad5dd0cde36e56352b010a2247ba15b459c9a/espeak-ng.js
https://raw.githubusercontent.com/echogarden-project/espeak-ng-emscripten/1e8ad5dd0cde36e56352b010a2247ba15b459c9a/espeak-ng.data
Original espeak-ng.js SHA256: ba2b5f80f00a782a467c2072df2afe277124e328083ef6fb1aeed7d40205342a
Original espeak-ng.data SHA256: 34d8d90d112acd35f6b7cdf3da16125444aeeebc4b68bee87cd55d6f7e4dd3a0

Pinned preferred source and build scripts:
https://github.com/echogarden-project/espeak-ng/tree/9a550bef455f03b459f51796e3482833aab7fbc0
Full source snapshot (including dictionary sources, C/C++ sources, build-emscripten.sh,
emscripten/Makefile and WebIDL glue): espeak-source-9a550bef.tar.xz
Source archive SHA256:
0ddecf8dfd61fd8e1ea4c1bce0cfa440bf486952204dd668eba90a704596b87d

Lossless repackaging, 2026-10-12: XZ preset 6 replaces the original GZIP
compression only. All 66,734,080 bytes of the unpacked tar, including every
source file, dictionary, build script and archive metadata, are unchanged.
Uncompressed tar SHA256:
cc46f2942ff86a02fda927c7b65d901428861f87b64420a5af0bc2dbd8d10cb6
Original GZIP archive SHA256, retained for provenance:
06afb088f1e9b0546c8be0c0c3295ad7851a846a1242e9850856dbfb6a344271
The complete source remains publicly downloadable without registration or
payment. Open the .tar.xz using tar, 7-Zip, or Python's standard tarfile module.

Source pairing evidence: both supplier commits are dated 2026-07-22. The binary
commit describes a newer eSpeak WASM build fixing path resolution; the source
commit changes file-URI directory decoding. The supplier README identifies this
fork and build-emscripten.sh as its build source. This pairing is inferred from
the supplier's build history; no formal build attestation is provided. The
supplier does not record an exact Emscripten version for this build.

Lyrila modification, 2026-10-08, extended 2026-10-12:
The embedded WASM is unchanged. package-phonemizer.mjs repackages the generated
data loader to accept a supplied manifest. It retains common phoneme/voice data
and the English dictionary needed for default initialization, and downloads
only the selected Norwegian or Icelandic dictionary for its natural Piper model.
Mandarin Kokoro uses this phonemizer only for embedded English, alongside a
separate pinyin frontend; it needs only the common English bootstrap data.
Basic local speech now also uses this same unmodified WASM in a separate worker.
The basic worker offers 48 supported app languages, with only the requested
dictionary downloaded; it is explicitly labelled as less natural formant speech.
The engine has no native Filipino or Khmer voice, so those are not mislabelled
as supported by this engine. Basic Arabic expects fully diacritized input and
Japanese expects kana; installed/natural voices are preferable for ordinary text.
The full packaging script is provided alongside
the binary, under GPL-3.0-or-later. Reproduce the packaged files with:
node package-phonemizer.mjs ORIGINAL_ESPEAK_JS ORIGINAL_ESPEAK_DATA OUTPUT_DIRECTORY nb,is
For the basic dictionary files and index, replace nb,is with:
de,tr,ar,fr,es,zh,fa,ru,uk,hi,ka,bg,it,pt,pl,nl,ro,el,hu,cs,sv,fi,da,nb,ja,ko,vi,id,th,ur,af,am,az,bn,hr,et,he,is,lv,lt,ms,sr,sk,sl,sw,ta,te
Save that generated index as basic-data-manifest.json; retain the original
nb,is index as espeak-data-manifest.json for the independent natural workers.

The modified phonemizer loader, basic-worker.js, piper-worker.js, kokoro-worker.js and packaging
source are included in lyrila-voice-source.tar.gz, with GPL-3.0-or-later notices.
The archive also includes the independent app controller and model metadata
for inspection. Chinese frontend and pinyin-pro retain their separate Apache-2.0
and MIT licence texts in KOKORO-ZH-FRONTEND-NOTICES.txt. Generated
audio itself is not restricted by this software licence unless it contains
copyrighted material. The selected voice models have separate terms recorded
in VOICE-MODEL-NOTICES.txt; this GPL licence does not replace those terms.
