https://github.com/echogarden-project/espeak-ng-emscripten
eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten. Intended for use with Echogarden.
https://github.com/echogarden-project/espeak-ng-emscripten
Last synced: 6 months ago
JSON representation
eSpeak-NG speech synthesizer, compiled to JavaScript via Emscripten. Intended for use with Echogarden.
- Host: GitHub
- URL: https://github.com/echogarden-project/espeak-ng-emscripten
- Owner: echogarden-project
- License: gpl-3.0
- Created: 2023-04-27T08:55:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T07:45:50.000Z (8 months ago)
- Last Synced: 2024-10-19T10:27:49.867Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 11.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# eSpeak-NG (Emscripten port)
[eSpeak-NG speech synthesizer](https://github.com/espeak-ng/espeak-ng), compiled to JavaScript via Emscripten.
Intended for use with [Echogarden](https://github.com/echogarden-project/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](https://github.com/echogarden-project/espeak-ng) 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
```