[Sugar-devel] Regarding the Sugar Labs Text to Speech feature.
fdanesse at gmail.com
Fri Oct 3 17:07:26 EDT 2014
Creo que para hacer esto lo mejor sería utilizar gstreamer directamente a
través de su plugin para "festival".
Festival es software libre y ya tiene un montón de voces listas para
utilizar e incluso se pueden utilizar voces de otros proyectos similares.
Si quieres probar, tienes que instalar festival y el plugin para gstreamer
que se encuentra en gstreamer-tools.
Luego ejecutas en una terminal: festival --server
y en otra lo pruebas con: echo 'Hello World!' | gst-launch-0.10 fdsrc fd=0
! festival ! wavparse ! audioconvert ! alsasink
La web de Festival es: http://www.cstr.ed.ac.uk/projects/festival/
La de festvox es: http://www.festvox.org/
En diversos sitios web hay abundante material sobre como instalar un montón
de voces compatibles, e incluso como crear nuevas.
2014-10-03 16:29 GMT-03:00 Gonzalo Odiard <godiard at sugarlabs.org>:
> Hi Nurendra,
> 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 by Sugar,
> and the activities, to avoid code duplication) 
> Where we can get help?
> * Better voices: espeak is very robotic.There are other free voices with
> better quality?
> 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
> distribute it.
> 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
> cd pico
> make install
> 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.
>  http://espeak.sourceforge.net/
>  http://wiki.sugarlabs.org/go/Features/Global_Text_To_Speech
>  http://wiki.sugarlabs.org/go/Features/Text_To_Speech_In_The_Toolkit
>  https://www.youtube.com/watch?v=J1QeShToq-E
> 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
> Gonzalo Odiard
> SugarLabs - Software for children learning
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel