I wrote a simple program using PyQt4 and Speech Dispatcher.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje7vrMVRWCzQYigPxsa4OWwHoeYNYx8Hau1aLxPTUQIL1mH6_R4dXORubof6rEBOKRaOkKub8kdoV4E87aPxMXRKIHL82EHp_M4bRNyBYBfamKKOudsLTO2JTga_WlgL9wwDDKgYmi99E/s1600/speak.py.png

I wrote it for understanding how to work with PyQt. I used Qt4 Designer to design the UI and the program loads the UI file at run-time.

Before you can really use this program, you have to make sure Speech Dispatcher really working. I have to set the output device of each module to PulseAudio, somehow, ALSA doesn’t work. For festival module, I also need to start the server with these files.

You can see and download the source here. The speak.py is the main program. It’s licensed under the GPLv3.