An app that runs Text-to-Speech & Speech-to-Text in background.
This app uses Stacked Architecture for MVVM & State Management. This architecture is provided by FilledStacks
- stacked
- auto_route
- get_it
- injectable
- flutter_tts
After checkout, run this command in terminal to auto generate files:
flutter pub run build_runner build
or in case of build conflicts
flutter packages pub run build_runner build --delete-conflicting-outputs
Speech to text is configured in Android module. Speech listening is dependent on these two values:
- Stop Listening Delay [Seconds before service should stop listening]
- Transition Delay [Seconds before service should start listening again]
These can be configured inside Android module:
class MainApplication : FlutterApplication(){
override fun onCreate() {
super.onCreate()
Speech.init(this, packageName, 10000L, 1200L)
}
}
This project uses Speech-Recognizer library developed by sachinvarma for background speech listening services.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.