QtSpeech: Difference between revisions
AutoSpider (talk | contribs) (Convert ExpressionEngine section headers) |
(Updated todo list.) |
||
Line 1: | Line 1: | ||
= Qt Speech Module = | = Qt Speech Module = | ||
This page contains notes about the development of a qt speech module. | This page contains notes about the development of a qt speech module. | ||
Line 13: | Line 11: | ||
There is a basic implementation on Mac/Win/Linux/Android. | There is a basic implementation on Mac/Win/Linux/Android. | ||
Linux uses speech-dispatcher. | Linux uses speech-dispatcher. | ||
Windows uses sapi5. | |||
OSX uses Cocoa NSSpeechSynthesizer api. | |||
== Todo == | == Todo == | ||
Line 19: | Line 19: | ||
To implement on each platform: | To implement on each platform: | ||
* Windows: availableVoices/setVoice/voice | * 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: | Collection of resources and links that should help defining a cross-platform API: |
Revision as of 21:20, 26 March 2015
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.
https://codereview.qt.io/#admin,project,qt/qtspeech,info ssh://codereview.qt.io:29418/qt/qtspeech.git
Current State
There is a basic implementation on Mac/Win/Linux/Android. Linux uses speech-dispatcher. Windows uses sapi5. OSX uses Cocoa NSSpeechSynthesizer api.
Todo
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.
Voice selection
Summarize here which native API offers what. For example SAPI 5 has first names as voice identifiers.