My flexible interface to SVox Pico on Linux, uses Sox to control and save speech: http://gitlab.com/ky1e/picospeaker/ also in Arch AUR