<div dir="ltr">Maybe you can test festival to start and check if can be used in the same way we use <div>the gstreamer plugin or improve the festival gstreamer plugin?</div><div><br></div><div>Gonzalo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 7:17 PM, Nurendra Choudhary <span dir="ltr"><<a href="mailto:nurendrachoudhary31@gmail.com" target="_blank">nurendrachoudhary31@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ya, even i like the idea of using festival<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 4, 2014 at 2:43 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Gracias Flavio.<div>Hace mucho que no pruebo Festival, voy a probarlo.</div><span><font color="#888888"><div><br></div><div>Gonzalo</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 6:07 PM, Flavio Danesse <span dir="ltr"><<a href="mailto:fdanesse@gmail.com" target="_blank">fdanesse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Creo que para hacer esto lo mejor sería utilizar gstreamer directamente a través de su plugin para "festival".</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">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.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Si quieres probar, tienes que instalar festival y el plugin para gstreamer que se encuentra en gstreamer-tools.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Luego ejecutas en una terminal: festival --server</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">y en otra lo pruebas con: echo 'Hello World!' | gst-launch-0.10 fdsrc fd=0 ! festival ! wavparse ! audioconvert ! alsasink</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">La web de Festival es: <a href="http://www.cstr.ed.ac.uk/projects/festival/" target="_blank">http://www.cstr.ed.ac.uk/projects/festival/</a></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">La de festvox es: <a href="http://www.festvox.org/" target="_blank">http://www.festvox.org/</a></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">PD:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">En diversos sitios web hay abundante material sobre como instalar un montón de voces compatibles, e incluso como crear nuevas.</div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span>2014-10-03 16:29 GMT-03:00 Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nurendra,<div><div><div>Certainly there are many thinks we can do connected with text to speech.</div><div>We use the "espeak" [1] utility, included in the linux distributions,</div><div>and a gstreamer plugin to use it from python.</div><div>Text to speech is used in many activitieas, and also in Sugar itself,</div><div>you can select any text and press a icon in the frame or press a shortcut</div><div>and the text is played. You can see the code here [2]</div><div>We call that "Global text to speech" [3] </div><div>Right now, I want move part of that code to the toolkit (the library shared by Sugar,</div><div>and the activities, to avoid code duplication) [4] </div><div><br></div><div>Where we can get help?</div><div>* Better voices: espeak is very robotic.There are other free voices with better quality?</div><div>Can be used in devices with modest capabilities like the xo? </div><div><br></div><div>* I found a project on debian repository to compile svox-pico,</div><div>used in Android. The voices are very nice, but I don't know if is possible distribute it.</div><div>You can compile it in Fedora doing:</div><div><div><br></div><div>git clone -b upstream+patches git://<a href="http://git.debian.org/collab-maint/svox.git" target="_blank">git.debian.org/collab-maint/svox.git</a> svox-pico</div><div>git checkout -f origin/debian-sid</div><div>cd pico</div><div>./autogen.sh</div><div>./configure</div><div>make </div><div>make install</div></div><div><br></div><div>And can create a wav file wih the text doing:</div><div><br></div><div>pico2wave --wave=/tmp/test.wav "hello world"<br></div><div><br></div><div>To be able to use this, we would need package all this are rpms,</div><div>and create a gstreamer pluggin to use it.</div><div>Not so easy, but a nice project ;)</div><div><br></div><div>* Other project could be improve our text to speech feature to be able </div><div>to highlight word by word while are played, like in "sing along" videos [5]</div><div>At least in part was implemented on Read activity when reading text files,</div><div>but need implementation in PDF and epub files.</div><div>I tried implementing in epub files but was very slow and lost sync between </div><div>the audio and the view.</div><div class="gmail_extra"><br></div><div class="gmail_extra">There more things to do if you are interested.</div><div class="gmail_extra">We found text to speech is a powerful tool. Kids enjoy simple activities </div><div class="gmail_extra">as Speak (or no so simple if look at the robot part), and we even use </div><div class="gmail_extra">TTS in our word processor as a way to allow kids to "debug writing"</div><div class="gmail_extra">as Claudia Urrea say.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you are interested, let me know and I will try tto help. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Gonzalo</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://espeak.sourceforge.net/" target="_blank">http://espeak.sourceforge.net/</a></div><div class="gmail_extra">[2] <a href="https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/speech.py" target="_blank">https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/speech.py</a></div><div class="gmail_extra">[3] <a href="http://wiki.sugarlabs.org/go/Features/Global_Text_To_Speech" target="_blank">http://wiki.sugarlabs.org/go/Features/Global_Text_To_Speech</a></div><div class="gmail_extra">[4] <a href="http://wiki.sugarlabs.org/go/Features/Text_To_Speech_In_The_Toolkit" target="_blank">http://wiki.sugarlabs.org/go/Features/Text_To_Speech_In_The_Toolkit</a></div><div class="gmail_extra">[5] <a href="https://www.youtube.com/watch?v=J1QeShToq-E" target="_blank">https://www.youtube.com/watch?v=J1QeShToq-E</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 3:34 PM, Nurendra Choudhary <span dir="ltr"><<a href="mailto:nurendrachoudhary31@gmail.com" target="_blank">nurendrachoudhary31@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br></div>I am a Computational Linguistics student at IIIT hyderabad and can code in python, c,c++ and also work with various frameworks.<br></div>I would like to work on the Text to Speech feature. Can you help me start?<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">- Nurendra Choudhary<br><br></font></span></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</font></span></div></div></div></div>
<br><span>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</div>