Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/Text To Speech In The Toolkit
(view source)
Revision as of 14:14, 30 July 2014
868 bytes added
,
14:14, 30 July 2014
→Detailed Description
Line 24:
Line 24:
== Detailed Description ==
== Detailed Description ==
+
These are the funcitionalities needed by the activities
+
+
say(text,[voice])
+
:Return a id to enable pause and stop
+
+
pause(id)
+
+
stop(id)
+
+
get_languages()
+
:Return array of translated language names (to show in the UI),
+
:and the voice name related in the backend.
+
+
get_voice(lang)
+
:lang is a language code
+
:Return the best voice name available for the language.
+
+
=== Activities using TTS ==
+
+
* Clock
+
:say the time in the default voice
+
+
* Memorize
+
:user can select the language and the game say text in the selected voice.
+
:games based on Art4apps do TTS if a sound file is not available.
+
+
* Read
+
:The user can select a languages from a list and make the activity do TTS on the text using that voice
+
:The user can pause and stop
+
+
* Write
+
:The user can select a languages from a list and make the activity do TTS on the text using that voice
+
:The user can pause and stop
== Benefit to Sugar ==
== Benefit to Sugar ==
Godiard
628
edits