<div dir="ltr">Hi Nurendra,<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">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/">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">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">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">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">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 class=""><font color="#888888"><br><br></font></span></div><span class=""><font color="#888888">- Nurendra Choudhary<br><br></font></span></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>