mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
5f8a2aa991f10ba2815165ae83285af054f89a5d
Android Port of eSpeak Text-to-Speech
This branch contains the files needed to build espeak on the android platform. It is derived from the eyes-free project.
Prerequisits
To build eSpeak for Android, you need to have the following installed and configured correctly:
- Android SDK
- Android NDK
- Eclipse
- Android Developer Tools (ADT) for Eclipse
- wxWidgets 2.8 (for espeakedit if building the
espeak-datazip files)
Building
-
Build the
libttsespeak.sofile by running:$ ndk-build -
Open Eclipse.
-
Create a new workspace.
-
Import the espeak folder as an exising Android project.
-
Build the espeak apk within Eclipse.
In order to build the espeak-data.zip and espeak-data-en_only.zip data files, you need to run the following commands:
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make android
Installing
The generated eSpeakActivity.apk can be installed like any other apk build
via eclipse, such as by using the Run menu option.
After running, eSpeakActivity will download the espeak-data.zip file. To
enable eSpeak, you need to:
- go into the Android
Text-to-Speech settingsUI; - enable
eSpeak TTSin theEnginessection; - select
eSpeak TTSas the default engine; - use the
Listen to an exampleoption to check if everything is working.
Languages
C
78%
Java
9.2%
Shell
4.2%
Python
1.9%
Makefile
1.6%
Other
5.1%