Picospeaker is a project mainly written in Python, based on the Unlicense license.
A small program written in Python that speaks text on its command line or standard input using SVox Pico and Sox. Speech rate, pitch, volume and language can be specified, and output can be saved to many file formats.
PicoSpeaker Written by Kyle
DESCRIPTION
PicoSpeaker is a program written in Python that speaks text on its command line or standard input using SVox Pico and Sox. Speech rate, pitch, volume and language can be specified, and output can be saved to any file format supported by Sox.
LICENSE INFO
This is perhaps the only license agreement you will never have to read. PicoSpeaker is free and unencumbered software released into the public domain. See the included UNLICENSE file if you really want to. SVox Pico and Sox are covered by their own open source licenses and copyrights, and are therefore not covered by the UNLICENSE included with PicoSpeaker.
REQUIREMENTS
PicoSpeaker uses SVox Pico to produce speech audio data and Sox to control rate, pitch and volume and to output the speech either to the sound device or to a specified output file. These packages must be installed on your system in order to have full functionality.
SVox Pico can be found on Debian and Ubuntu systems in several packages beginning with libttspico..., e.g. libttspico0, libttspico-data and libttspico-utils. On Arch Linux, search the Arch User Repository for svox-pico-git and install using the PKGBUILD. Other systems have their own names for the SVox Pico TTS engine, but not every distro has it yet. Check your package repositories for availability.
Sox is a wellknown audio processing package available on most Linux/Unix systems. If you have access to the "play" and "rec" commands, you already have Sox. If not, install the sox package using your distro's package manager.
INSTALLATION
Simply copy the picospeaker script file into your path and be sure the file has read and execute permissions.
sudo install -m 755 picospeaker /usr/bin
should do it in a single command.
USAGE
picospeaker [options]
Options:
-l|--language