Oratio
Oratio is a library for Android Studio. This library is useful to a number of developers who are currently making apps using android TTS(Text-To-Speech). Oratio shortens your TTS codes and simplifies your program. For more information, look at the description here.
Library name: Oratio(which means 'Speech' in Latin) Purpose: To shorten and simplify program codes which contain Android TTS. Language: JAVA IDE: Android Studio
How to get this into your build?
Step 1. Go to 'build.gradle' and write this.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add this.
dependencies {
implementation 'com.github.lhwdev2008:androidlibrary-oratio:1.1.1'
}
Example Usage
private TextToSpeech tts;
private Context context;
private Locale locale;
Oratio.reset(tts, context)
Oratio.speak(tts, "안녕!", locale, 1.0f, 1.0f);
Therefore, this is how that code works.
Oratio.reset(TextToSpeech tts, Context context)
Oratio.speak(TextToSpeech tts, String message, Locale locale, Float pitch, Float speechRate);
Please Consider Using This!