Qt Speech Module
This page contains notes about the development of a qt speech module. Currently it is about tts (text to speech). Speech recognition may be introduced, but is a lot less trivial at this point in time it seems.
There is a basic implementation on Mac/Win/Linux/Android. Linux uses speech-dispatcher. Windows uses sapi5. OSX uses Cocoa NSSpeechSynthesizer api.
Decide on either plugins or only having one backend per platform.
To implement on each platform:
- Windows: availableVoices/setVoice/voice https://codereview.qt-project.org/108169
- Linux: speech-dispatcher connection failure handling https://codereview.qt-project.org/108820
- Android: backend could use a lot of implementation of methods that are empty currently
- iOS: backend needs a bit of thought about how old of iOS should be supported as noted here: https://codereview.qt-project.org/98704
Collection of resources and links that should help defining a cross-platform API:
API for language selection
QLocale seems like a good candidate for languages.
Summarize here which native API offers what. For example SAPI 5 has first names as voice identifiers.