Giter Site home page Giter Site logo

eidy / espeak-ng Goto Github PK

View Code? Open in Web Editor NEW

This project forked from espeak-ng/espeak-ng

0.0 2.0 0.0 38.24 MB

eSpeak NG is an open source speech synthesizer that supports 93 languages and accents.

License: GNU General Public License v3.0

Makefile 2.73% HTML 0.28% Shell 0.08% M4 0.47% C++ 17.51% JavaScript 0.77% C 63.83% Vim Script 0.34% Java 14.00%

espeak-ng's Introduction

eSpeak Text-to-Speech for Android™

eSpeak for Android on Google Play

Flattr this git repo


This branch contains the files needed to build espeak on the android platform. It is derived from the eyes-free project.

Build Dependencies

In order to build eSpeak, you need:

  1. a functional autotools system (make, autoconf, automake, libtool and pkg-config);
  2. a functional c++ compiler;
  3. wxWidgets development libraries (needed to build and run espeakedit to compile the phoneme data).

In order to build the APK, you need:

  1. the Android SDK with API 21 support;
  2. the Android NDK;
  3. Gradle 2.1.

In order to use Android Studio, you will also need:

  1. Android Studio.

Debian

Dependency Install
autotools sudo apt-get install make autoconf automake libtool pkg-config
c++ compiler sudo apt-get install gcc g++
wxWidgets sudo apt-get install libwxgtk2.8-dev
gradle gradle-2.1_0ubuntu1_all.deb

Building

Building with Gradle

  1. Set the location of the Android SDK:

    $ export ANDROID_HOME=<path-to-the-android-sdk>
    
  2. Build the project:

    $ ./autogen.sh
    $ ./configure --with-gradle=<path-to-gradle>
    $ make
    

This will create an android/build/outputs/apk/espeak-release-unsigned.apk file.

Signing the APK

In order to install the built APK you need to self-sign the package. You can do this by:

  1. Creating a certificate, if you do not already have one:

    $ keytool -genkey -keystore [YOUR_CERTIFICATE] -alias [ALIAS]
    
  2. Sign the package using your certificate:

     $ jarsigner -sigalg MD5withRSA -digestalg SHA1 \
       -keystore [YOUR_CERTIFICATE] \
       android/build/outputs/apk/espeak-release-unsigned.apk [ALIAS]
    
  3. Align the apk using the zipalign tool.

     $ zipalign 4 android/build/outputs/apk/espeak-release-unsigned.apk \
       android/build/outputs/apk/espeak-release-signed.apk
    

Installing

Now, you can install the APK using the adb tool:

$ adb install -r android/build/outputs/apk/espeak-release-signed.apk

After running, eSpeakActivity will extract the espeakdata.zip file into its own data directory to set up the available voices.

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.

Bugs

Report bugs to the espeak issues page on GitHub.

License Information

eSpeak Text-to-Speech is released under the GPL version 3 or later license.

The eSpeak Android APK code in the android folder is released under the Apache 2.0 license.

Android and Google Play are registered trademarks of Google Inc.

All trademarks are property of their respective owners.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.