I am a musician, a taker of pictures, a rider of bikes, a father to plants, and roller of skateboards (no tricks). And I advocate Free Software and GNU/Linux.

 

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.”

  1. jakedth posted this

Blog comments powered by Disqus

This work is licensed under a Creative Commons Attribution-ShareAlike License (3.0 Unported or any later version).
Excluding HTML, CSS, and third-party graphics / trademarks.