@echogarden/espeak-ng-emscripten
v0.3.0
Published
eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten. Intended for use with Echogarden.
Downloads
2,176
Readme
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/emsdk
Install 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-ng
Build eSpeak-NG Emscripten port
cd espeak-ng
./build-emscripten.sh
If successful, the compiled files should be at:
espeak-ng/emscripten/espeak-ng.js
espeak-ng/emscripten/espeak-ng.data