0.3.3 • Published 12 months ago
@echogarden/espeak-ng-emscripten v0.3.3
eSpeak-NG (Emscripten port)
eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten.
Intended for use with Echogarden.
How to build
Building is only known to work in Linux. On Windows, use WSL.
Ensure you have essential build tools, like:
sudo apt install autoconf automake libtool autotools-dev build-essential gcc g++Ensure you have python in path (used by Emscripten).
Clone the EMSDK repository:
git clone https://github.com/emscripten-core/emsdkInstall and activate EMSDK:
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
cd ..Clone Echogarden's eSpeak-NG fork repository and switch to its 'fork' branch:
git clone --branch fork https://github.com/echogarden-project/espeak-ngBuild eSpeak-NG Emscripten port
cd espeak-ng
./build-emscripten.shIf successful, the compiled files should be at:
espeak-ng/emscripten/espeak-ng.js
espeak-ng/emscripten/espeak-ng.data