/AndroidMaryTTS-Client

Android TTS client application based on MaryTTS, using gradle and maven repository centers.

Primary LanguageJavaApache License 2.0Apache-2.0

Android MaryTTS-Client

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:

  1. 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'
  	     	      }
  	    }
  }
  1. Also, other one to build.gradle (module) where tts will use :
	dependencies {
	    compile 'com.marytts.android:marylib:1.0.1'
	}
  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); 
  1. Last one to speak or stop what you write :
 	MaryLink.getInstance().startTTS(text);
	
	MaryLink.getInstance().stopTTS();