[Sugar-devel] Regarding the Sugar Labs Text to Speech feature.
godiard at sugarlabs.org
Fri Oct 3 15:29:13 EDT 2014
Certainly there are many thinks we can do connected with text to speech.
We use the "espeak"  utility, included in the linux distributions,
and a gstreamer plugin to use it from python.
Text to speech is used in many activitieas, and also in Sugar itself,
you can select any text and press a icon in the frame or press a shortcut
and the text is played. You can see the code here 
We call that "Global text to speech" 
Right now, I want move part of that code to the toolkit (the library shared
and the activities, to avoid code duplication) 
Where we can get help?
* Better voices: espeak is very robotic.There are other free voices with
Can be used in devices with modest capabilities like the xo?
* I found a project on debian repository to compile svox-pico,
used in Android. The voices are very nice, but I don't know if is possible
You can compile it in Fedora doing:
git clone -b upstream+patches git://git.debian.org/collab-maint/svox.git
git checkout -f origin/debian-sid
And can create a wav file wih the text doing:
pico2wave --wave=/tmp/test.wav "hello world"
To be able to use this, we would need package all this are rpms,
and create a gstreamer pluggin to use it.
Not so easy, but a nice project ;)
* Other project could be improve our text to speech feature to be able
to highlight word by word while are played, like in "sing along" videos 
At least in part was implemented on Read activity when reading text files,
but need implementation in PDF and epub files.
I tried implementing in epub files but was very slow and lost sync between
the audio and the view.
There more things to do if you are interested.
We found text to speech is a powerful tool. Kids enjoy simple activities
as Speak (or no so simple if look at the robot part), and we even use
TTS in our word processor as a way to allow kids to "debug writing"
as Claudia Urrea say.
If you are interested, let me know and I will try tto help.
On Fri, Oct 3, 2014 at 3:34 PM, Nurendra Choudhary <
nurendrachoudhary31 at gmail.com> wrote:
> I am a Computational Linguistics student at IIIT hyderabad and can code in
> python, c,c++ and also work with various frameworks.
> I would like to work on the Text to Speech feature. Can you help me start?
> - Nurendra Choudhary
SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel