readout 0.1

Posted on 2013-12-28 in Projects • 1 min read

readout does text to speech convertion using Speech::Google::TTS of Niels Dettenbach. It could be used for short texts supplied as command line arguments. readout does local caching, the Google stuff is only used for new texts.

It could be used for home automation or monitoring stuff (“speaking nagios”).


$ ./readout <first text block>[| <second text block> [| <third text block>] ...]

Texts blocks can be splitted by pipes (‘|’). Each block is written to a single file. This can be used to improve caching.

For playback you might pipe it into xargs like this:

$ ./readout Hello World\! | xargs aplay
Playing WAVE '/home/thomas/.cache/readout/lang-en/tts_9c__3k.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

The language is derived from the environment variable LANG. Languages can be enforced by setting the READOUT_LANG environment variable.


Releases can be downloaded at



The following software is required: