Changes

Jump to navigation Jump to search
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 ==
628

edits

Navigation menu