QtSpeech: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
h1. Qt Speech Module | h1. 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. | ||
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 | https://codereview.qt.io/#admin,project,qt/qtspeech,info | ||
ssh://codereview.qt.io:29418/qt/qtspeech.git | |||
== Current State == | == Current State == | ||
There is a basic implementation on Mac/Win/Linux/Android. | There is a basic implementation on Mac/Win/Linux/Android. | ||
Linux uses speech-dispatcher. | |||
== Todo == | == Todo == | ||
Line 13: | Line 17: | ||
Decide on either plugins or only having one backend per platform. | Decide on either plugins or only having one backend per platform. | ||
To implement on each platform: | To implement on each platform: | ||
* OS X: Pitch (patch in review currently "here":https://codereview.qt.io/99691) | |||
* OS X: availableVoices (patch in review currently "here":https://codereview.qt.io/106097) | |||
* Windows: availableVoices/setVoice/voice | |||
* Linux: add all outputModule voices to availableVoices API | |||
* Example widget: Remove voicetype combobox or add new api to implement it properly. | |||
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: | ||
Line 31: | Line 40: | ||
|- | |- | ||
|Win SAPI 5 | |Win SAPI 5 | ||
|gender, age, name, lang, vendor - names such as | |gender, age, name, lang, vendor - names such as "Microsoft Anna" or "Mike" | ||
|http://msdn.microsoft.com/en-us/library/ms720151(v=vs.85).aspx#API_for_Text-To-Speech http://msdn.microsoft.com/en-us/library/ms723601(v=vs.85).aspx | |http://msdn.microsoft.com/en-us/library/ms720151(v=vs.85).aspx#API_for_Text-To-Speech http://msdn.microsoft.com/en-us/library/ms723601(v=vs.85).aspx | ||
|- | |- |
Revision as of 10:14, 25 February 2015
h1. 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.
Todo
Decide on either plugins or only having one backend per platform.
To implement on each platform:
- OS X: Pitch (patch in review currently "here":https://codereview.qt.io/99691)
- OS X: availableVoices (patch in review currently "here":https://codereview.qt.io/106097)
- Windows: availableVoices/setVoice/voice
- Linux: add all outputModule voices to availableVoices API
- Example widget: Remove voicetype combobox or add new api to implement it properly.
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.