Jacob Lludkrab's Personal Weblog.


Just a guy in California, I like music (in a band myself,) recording & editing videos, free software, GNU/Linux, photography, agriculture, graphics design.

Festival + Zenity = Easy GUI interface

Code (Shell Script):

zenity --text-info --editable --title "Text-to-Speech" --window-icon /usr/share/app-install/icons/kmouth.png --width 500 --height 300 > /tmp/tts-tmp.txt 
festival --tts /tmp/tts-tmp.txt & zenity --question && killall -v audsp

Simple, nice, quick, hardly any dependencies. Change “festival” to “espeak” if you prefer. The only thing it really needs is Zenity. If you want Text-to-Speech, you’ll need something like “festival” or “espeak” so they aren’t quite “dependencies.”

They’re more like “necessities.”


How to contact me:
youkeyson@yahoo.com
or
youkeyson AT gmail.com


Comments (View)
blog comments powered by Disqus