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:
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.
|Win SAPI 5
||gender, age, name, lang, vendor - names such as "Microsoft Anna" or "Mike"
||similar to cocoa api
|Mac Cocoa NSSpeechSynthesizer
||id, name, age, gender, language, locale - can be enumerated
||name, language (2-letter), variant, voice type enum with Male1..3, Female1..3 and childMale, childFemale
||lang (two letter [_region-subregion]), age(?), gender, name(=long language name)
||name, gender, maybe more
||has a concept of engines, setLanguage locale based, isLanguageAvailable() but no language listing
CSS and/or XML in strings to be spoken