Skip to content

eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten. Intended for use with Echogarden.

License

Notifications You must be signed in to change notification settings

echogarden-project/espeak-ng-emscripten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.cjs
espeak-ng/emscripten/espeak-ng.data

About

eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten. Intended for use with Echogarden.

Resources

License

Stars

Watchers

Forks