Commit Graph

6 Commits

Author SHA1 Message Date
Gonzalo Odiard
b78989b755 Add parameters to configure tts
Activities can set pitch, rate or voice used to play text to speech
2014-11-12 15:18:04 -03:00
Gonzalo Odiard
7b82eb6ae8 Add a structure to store the translated voice names 2014-11-12 15:17:51 -03:00
Gonzalo Odiard
44f9201e79 Initialize Gst before use speech
In sugar gst was initialized at startup, now we need initialize Gst
in the speech code.
2014-11-12 15:17:43 -03:00
Gonzalo Odiard
31d8de55a7 TTS: Cache the voices list 2014-11-12 15:17:33 -03:00
Gonzalo Odiard
57bd0890f5 Add a list of language names to translate
To display a list of translated language names in the UI,
we add a list of the available languages, because the espeak
language names are not translated.
2014-11-12 15:16:51 -03:00
Gonzalo Odiard
d7c9645b60 Move SpeechManager from sugar to sugar-toolkit-gtk3
This is done to be able to use this implementation of the feature
in the activities. A complementary patch is needed in sugar module.
2014-11-12 15:16:40 -03:00