AndroidMaryTTS is an open source Android offline text to speech application, built on top of MaryTTS. Can use own HMM-based voice in any android application with using this lib. Just need only generated HMM-voice file. Just create your own hmm-based voice model with using MaryTTS and share with us. In final listen yourself as tts speaker with using our lib. Already tested this lib with the version of android lollipop.
If you want to quicky check app on mobile device, you can simply download it from Play Store.
You would need Android Studio for development, other IDEs not yet supported.
- Android SDK v23
- Android Build Tools v23
#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();
After testing our lib don't forget write your reaction.
- Create new android app and add Marytts core code as module ๐
- Change or refactor marytts source files to support android OS ๐
- Publishing Gradle AndroidMaryTTS library to jCenter and maven repository ๐
- Adding other languages
- Marytts Android client demo ๐
- Creating TTS engine using AndroidMaryTTS
- Optimising AndroidMaryTTS module and make more user friendly module