Android TTS client application based on MaryTTS, using gradle and maven repository centers. Actually support only ENG language but in feature will other ones. Can add your own hmm based voice as speaker with using Marytts Andorid.
#How to use:
- Add below script to build.gradle(app) file :
android {
defaultConfig {
multiDexEnabled true
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES'
}
}
}
- Also, other one to build.gradle (module) where tts will use :
dependencies {
compile 'com.marytts.android:marylib:1.0.1'
}
- Load code marytts-android voise and language models on startup your project. It takes a few seconds. But in future will be so fast :
MaryLink.load(Context context);
- Last one to speak or stop what you write :
MaryLink.getInstance().startTTS(text);
MaryLink.getInstance().stopTTS();