On Sun, Mar 29, 2009 at 12:48 PM, Benjamin M. Schwartz <bmsch...@fas.harvard.edu> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > chirag jain wrote: >> The doubt is how to provide the button in sugar core? If you have any >> ideas or suggestions please reply. > > It sounds like a good plan to me. On my XO, build candidate-801 (8.2.1), > I can easily do: > > yum install xclip > [select some text] > xclip -o | espeak --stdin > > All you have to do is wrap this up in a frame device, like the volume > control or battery meter, and you're done!
Don't forget to call our text coloring engine to mark the word being spoken. That's designed for the pre-literate, on the model of Same-Language Subtitling in India. > Bonus: reimplement using pygst, the gstreamer speak plugin, and pyx11 or > libX11, so that xclip isn't needed and you don't need to spawn a new > process every time. > > - --Ben > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > > iEYEARECAAYFAknP0HIACgkQUJT6e6HFtqSQcACfbCNF1UCC+8OCKQNMeNsnbgvp > 3X8An17hCjQ7Ym9mN6OF5A32ik3BXAsl > =oHLx > -----END PGP SIGNATURE----- > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > -- Silent Thunder (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) is my name And Children are my nation. The Cosmos is my dwelling place, The Truth my destination. http://earthtreasury.net/ (Edward Mokurai Cherlin) _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel