Lyrila browser voice source offer, 2026-10-14

The current reading interface uses Supertonic locally, with both voice styles
prepared together. Its compressed derivative is described in
SUPERTONIC-MODIFICATIONS.txt and compact-round-v1/manifest.json. The archive
includes those notices and the current worker/controller/manifest source;
model-weight binaries are distributed separately as verified download parts.
The older complementary engines documented below are no longer selectable.

The nearby lyrila-voice-source.tar.gz contains the local packaging script,
modified generated eSpeak loader, Basic/Piper/Kokoro workers, Mandarin frontend,
Pinyin library, controller/asset manifest, tests and full notices. Individual
file notices determine their licences. The archive also includes the
independent app controller and metadata for inspection; inclusion does not
relicense every file under GPL.

The complete preferred eSpeak source and supplier build scripts are supplied
separately as espeak-source-9a550bef.tar.xz. Its immutable supplier binary
inputs and the source pairing evidence/limits are in PHONEMIZER-SOURCE.txt.
The supplier did not record an exact Emscripten version. No formal build
attestation or bit-identical upstream rebuild is claimed.

The complete upstream snapshot is losslessly recompressed using XZ preset 6.
Its uncompressed tar bytes match the original GZIP snapshot byte-for-byte;
no file, dictionary, test or build script is omitted. Archive digests are in
PHONEMIZER-SOURCE.txt. Extract using tar/7-Zip or Python's tarfile module.

To reproduce our packaged loader and dictionary data, obtain the two pinned
supplier JS/data files whose URLs and SHA256 values are in PHONEMIZER-SOURCE.txt.
With Node.js, run:
node package-phonemizer.mjs ORIGINAL_ESPEAK_JS ORIGINAL_ESPEAK_DATA OUTPUT_DIRECTORY nb,is

This leaves the supplier's embedded WASM unchanged. The output data includes
common English initialization data plus the selected nb/is dictionaries.
The produced file hashes and sizes are recorded in voice-assets.ts.
The basic voice dictionaries and full index use the 47-language list in
PHONEMIZER-SOURCE.txt plus common English bootstrap data. Its independent
manifest and selected-dictionary metadata are basic-data-manifest.json and
app/data/basic-voice-assets.json. The basic worker produces formant speech,
separately from the natural Piper/Kokoro workers.

The worker scripts are deployed verbatim. ONNX Runtime Web 1.22.0 is separately
MIT-licensed; full licence/dependency notices remain alongside the runtime.
Only ort-wasm-simd-threaded.jsep.wasm is fetched from the exact pinned public
URL https://cdn.jsdelivr.net/npm/onnxruntime-web@1.22.0/dist/ort-wasm-simd-threaded.jsep.wasm
instead of being bundled in the deployment. Its 21,872,216 bytes and SHA256
b45970d0632383a057c27ca5b660b216f8e00c17cf8db9f6207b5e4abc839368
were verified identical to the previous local binary on 2026-10-12. It is
unchanged; both JavaScript glue modules remain local. Legacy verified browser
cache entries remain usable without another download. The controller and
workers retain complete URL allowlists and validate cached bytes before use.
The original Supertonic helper/code and weights retain their separate MIT and
OpenRAIL-M terms. None of the ONNX model weights are in the source archive.

The Mandarin frontend is a pronunciation-only adaptation of the pinned
@uzen/kokoro-js 1.2.4 source archive, with the unchanged pinyin-pro 3.28.1
module. Immutable source archive URLs/digests, modifications and full
Apache-2.0/MIT terms are in KOKORO-ZH-FRONTEND-NOTICES.txt.

The source archive is available beside the distributed worker/runtime files
without registration or payment. A recipient may inspect, modify and rebuild
the GPL-covered source under the full ESPEAK-LICENSE.txt terms.

Regenerate the local source archive from the repository root using its fixed
file list. DeviceVoice and ListenerVoice are not in this archive; it contains
the downloaded-voice controller and assets. A change solely to DeviceVoice
does not change the packaged files. After a packaged source change, run:

tar -czf public/lyrila-voice/lyrila-voice-source.tar.gz app/lib/downloaded-voice.ts app/lib/voice-assets.ts public/lyrila-voice/SOURCE-README.txt public/lyrila-voice/README.md public/lyrila-voice/package-phonemizer.mjs public/lyrila-voice/piper-worker.js public/lyrila-voice/kokoro-worker.js public/lyrila-voice/voice-worker.js public/lyrila-voice/espeak-ng.mjs public/lyrila-voice/espeak-data-manifest.json public/lyrila-voice/PHONEMIZER-SOURCE.txt public/lyrila-voice/ESPEAK-LICENSE.txt public/lyrila-voice/VOICE-MODEL-NOTICES.txt public/lyrila-voice/CC-BY-4.0.txt public/lyrila-voice/kokoro-zh-frontend.mjs public/lyrila-voice/pinyin-pro.mjs public/lyrila-voice/KOKORO-ZH-FRONTEND-NOTICES.txt public/lyrila-voice/ONNXRUNTIME-LICENSE.txt public/lyrila-voice/ONNXRUNTIME-ThirdPartyNotices.txt tests/downloaded-voice.cjs tests/fixtures/kokoro-zh-config.json tests/fixtures/kokoro-zh-tokenizer.json tests/fixtures/kokoro-zh-tokenizer-config.json

Include these additional files when regenerating the current source archive:
app/lib/basic-voice.ts app/data/basic-voice-assets.json
public/lyrila-voice/basic-worker.js public/lyrila-voice/basic-data-manifest.json
