Features/Global Text To Speech: Difference between revisions

Godiard (talk | contribs)
Godiard (talk | contribs)
No edit summary
Line 14: Line 14:
== Current status ==
== Current status ==
* Targeted release: 0.96
* Targeted release: 0.96
* Last updated:  
* Last updated: 21 Nov 2011
* Percentage of completion:
* Percentage of completion: 80%


== Detailed Description ==
== Detailed Description ==
A few activities implement Text to Speech, but Sugar itself has a feature not fully implemented to do text to speech in Sugar.


Most of the code is already done. Currently, if the user select a text in any activity, and press Alt+Shift+S, in shell.log you can see:
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.


1321360323.039468 DEBUG root: _key_pressed_cb: 39 9 <alt><shift>s
The actual implementation does not add any new dependency, and a initial version has been sent to sugar-devel for review.
1321360323.090568 DEBUG root: owner_change_cb
1321360323.090857 DEBUG root: Clipboard.add_object
1321360323.093460 DEBUG root: ClipboardTray: 1 was added
1321360323.094790 DEBUG root: KeyHandler._primary_selection_cb: 'hola'
1321360323.099433 DEBUG root: Asking for target text/rtf.
1321360323.100389 ERROR dbus.proxies: Introspect error on org.laptop.Speech:/org/laptop/Speech: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.laptop.Speech was not provided by any .service files
1321360323.100704 DEBUG dbus.proxies: Executing introspect queue due to error
1321360323.102645 ERROR root: An error occurred with the ESpeak service: DBusException(dbus.String(u'The name org.laptop.Speech was not provided by any .service files'),)


We already have the code to implement text to speech in Read, Memorize and Speak activities.
=== Old information: ===
 
A device should be implemented in the frame, to enable the user to select pitch and velocity.
 
=== More information: ===


http://wiki.laptop.org/go/Speech_Server
http://wiki.laptop.org/go/Speech_Server