diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-01-31 19:08:15 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2012-02-02 11:49:53 (GMT) |
commit | 450569da09b4e81cbe4f11f63fee47a024b14fad (patch) | |
tree | 59c116411a73ca4514b7ae0f7ce0d1d6298bc6d0 /data | |
parent | 448122189f9a009f8e4b88ca2f71f39fe1ac13f3 (diff) |
Implementation of Text to Speech Feature [1]
The patch adds a device icon to the frame with controls
to play/pause/stop any text that is selected by the user in
the Sugar UI. The palette does also have options to adjust
the pitch and rate of the spoken text. These settings are
stored in the GConf backend, the two keys are added to the
Sugar schema.
As backend gstreamer-plugins-espeak is used [2], it has been
in use in many activities already and is packaged for Fedora,
it will be added as a dependency to Sugar.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
[1] http://wiki.sugarlabs.org/go/Features/GlobalTextToSpeech
[2] http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak
Diffstat (limited to 'data')
-rw-r--r-- | data/sugar.schemas.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in index aaef381..226b41f 100644 --- a/data/sugar.schemas.in +++ b/data/sugar.schemas.in @@ -368,5 +368,29 @@ </locale> </schema> + <schema> + <key>/schemas/desktop/sugar/speech/pitch</key> + <applyto>/desktop/sugar/speech/pitch</applyto> + <owner>sugar</owner> + <type>int</type> + <default>0</default> + <locale name="C"> + <short>Pitch value for the speech sugar service</short> + <long>Pitch value used by the speech service in Sugar</long> + </locale> + </schema> + + <schema> + <key>/schemas/desktop/sugar/speech/rate</key> + <applyto>/desktop/sugar/speech/rate</applyto> + <owner>sugar</owner> + <type>int</type> + <default>0</default> + <locale name="C"> + <short>Rate value for the speech sugar service</short> + <long>Rate value used by the speech service in Sugar</long> + </locale> + </schema> + </schemalist> </gconfschemafile> |