Open main menu

Sugar Labs β

Features/Global Text To Speech

< Features
Revision as of 11:19, 19 December 2011 by Godiard (talk | contribs) (UI Design)



When the user press Alt+Shift+S the currently selected text should be said by the computer.


Current status

  • Targeted release: 0.96
  • Last updated: 21 Nov 2011
  • Percentage of completion: 80%

Detailed Description

The feature add a service to provide text to speech, and a device in the frame to configure pitch and velocity. A already reserved alt-shift-s key stroke say the selected text in any activity.

The actual implementation does not add any new dependency, and a initial version has been sent to sugar-devel for review.

Old information:


A GSOC project from Hemant Goyal worked in this area, related links:

  1. Google Summer of Code Logs ‐
  2. python‐dotconf – parser for the dot.conf configuration file ‐‐dotconf/
  3. pydotconf API documentation ‐‐dotconf/docs/
  4. speech‐dispatcher RPM packages for OLPC ‐
  5. python‐dotconf RPM packages for OLPC –
  6. Patches for sugar ‐;a=summary
  7. speechd python API ‐
  8. Active TRAC tickets relevant to the project
    1. Inclusion of speech‐dispatcher packages ‐
    2. Inclusion of python‐dotconf packages ‐
    3. Integration of speech‐synthesis into Sugar ‐
    4. Speech Device Icon Review ‐
  9. Listen n Spell ‐
  10. Read Etexts

Benefit to Sugar

Text to speech is a good feature to kids, when they are learning to read, and to kids with disabilities


The change is isolated.

UI Design

I propose use de default language now, and only expose controls to set pitch and velocity. In a later change, we can implement have more than one language enabled, and a switch to change it.

The UI will be a device in the frame, with the needed controls in the palette.

Text to speech.png

How To Test

User Experience


We already include all the needed dependencies.

Contingency Plan


Release Notes

Comments and Discussion