Commit Graph

11 Commits

Author SHA1 Message Date
James Cameron
f3f22ad124 Remove message, best voice for LANG 2017-08-01 09:39:52 +10:00
James Cameron
c26c902dc7 Remove Python GI API version warnings
- reported in Clock-19 testing.
2017-05-30 14:10:30 +10:00
leonardcj
1b9da5b1d6 Update speech.py
Improve the i18n of speech strings with wiki links
2016-03-26 17:11:07 -04:00
Gonzalo Odiard
fc4d629b50 TTS in the toolkit need initialize gstreamer - Fixes #4851
If is not initialized, the check for the espeak plugin will fail.
This patch also check for the espeak plugin at the beginnig
avoiding check every time the function enabled() is called.
2015-05-26 12:05:09 -04:00
Ignacio Rodríguez
47692f56f0 Log error when the espeak plugin is not installed.
Now when the espeak plugin is not installed there will be an
error (logging.error) in the log. Instead of the ugly message
of Gst
Also, if Gst isnt installed it debug a error too.

Fixes #3345
2015-01-08 17:42:03 -03:00
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