eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Reece H. Dunn 09ba97bdf8 eSpeakActivity: rework the main layout to provide a better L&F 12 years ago
.settings pull in the espeak activity sources from eyes-free 12 years ago
dictsource remove build output files 12 years ago
docs make: copy src/speak_lib.h to docs/speak_lib.h 13 years ago
espeak-data Merge branch 'development' 12 years ago
jni pull in the android JNI bindings from eyes-free 12 years ago
phsource remove build output files 12 years ago
platforms Merge branch 'master' into android 12 years ago
praat-mod 1.46.02 12 years ago
res eSpeakActivity: rework the main layout to provide a better L&F 12 years ago
src eSpeakActivity: rework the main layout to provide a better L&F 12 years ago
.classpath pull in the espeak activity sources from eyes-free 12 years ago
.gitignore .gitignore: ignore android build output 12 years ago
.project pull in the espeak activity sources from eyes-free 12 years ago
AndroidManifest.xml 1.46.02 -- android build scripts (from the eyes-free project) 12 years ago
Makefile.am Merge branch 'master' into android 12 years ago
README.md Makefile.am: add an android target to build the espeak-data.zip espeak-data-en_only.zip data files. 12 years ago
autogen.sh autotools: link README to README.md in autogen.sh to make autotools happy. 12 years ago
configure.ac autotools: add --with-portaudio -- support AUDIO=portaudio and AUDIO=runtime 12 years ago
mkdictlist autotools: fix espeak-data dictionary dependencies so they can be built from a clean tree 12 years ago
project.properties 1.46.02 -- android build scripts (from the eyes-free project) 12 years ago
shadowdir Makefile: shadow the phsource and dictsource directories instead of copying them 13 years ago

README.md

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:

  1. Android SDK
  2. Android NDK
  3. Eclipse
  4. Android Developer Tools (ADT) for Eclipse
  5. wxWidgets 2.8 (for espeakedit if building the espeak-data zip files)

Building

  1. Build the libttsespeak.so file by running:

    $ ndk-build
    
  2. Open Eclipse.

  3. Create a new workspace.

  4. Import the espeak folder as an exising Android project.

  5. 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:

  1. go into the Android Text-to-Speech settings UI;
  2. enable eSpeak TTS in the Engines section;
  3. select eSpeak TTS as the default engine;
  4. use the Listen to an example option to check if everything is working.