Description:xPLChumbyTTS responds to tts.basic messages, converts the text to speech to mp3 and sends an xPL message to the xPLChumby.py instance running on the target Chumby.

This app works by creating listeners for each Chumby on your network (specified in the config.txt file). It requires you to install LAME MP3 Encoder in the same directory as well as creating a directory called 'Cache'.

Usage:Create a config.txt file in the same directory as the executable.  It consists of the following:


If you send a tts.basic message to doghouse-chumtts.family_room, it will perform a text-to-wave (dropping that into the Cache directory) and then run LAME to convert the wav file to mp3 (putting it also into the Cache directory).  Finally, it sends an xPL message to the target Chumby running xPLChumby.py.  The script then issues a shell command to play the created mp3 file.  The path to that file is mounted on your Chumby via CIFS.

For example, add this to your debugchumby file:
mkdir /mnt/xPL;mount -t cifs // /mnt/xPL -r -o username='user',password='pwd'

Configure the path in xPLChumby.py to point to the mp3 file.  See the sample xPLChumby.py You'll also need to install the xPL Hub for Chumby.

You can use the command line xPL sender to test it out.  For example:
xplsend xpl-cmnd doghouse-chumtts.family_room tts.basic speech=this is a test
Revisions:02/27/11 - 1.0: Initial release

Back to chumby Software