pico2wave
text-to-speech synthesizer using the SVOX Pico engine
TLDR
Convert text to speech
$ pico2wave -w [output.wav] "[text to speak]"
Specify language$ pico2wave -l [en-US] -w [output.wav] "[Hello world]"
French synthesis$ pico2wave -l fr-FR -w [output.wav] "[Bonjour le monde]"
Pipe to audio player$ pico2wave -w /dev/stdout "[text]" | aplay
SYNOPSIS
pico2wave [options] -w wavfile text
DESCRIPTION
pico2wave is a text-to-speech synthesizer using the SVOX Pico engine. It converts text to a WAV audio file, supporting multiple languages.
PARAMETERS
-w, --wave file
Output WAV file (required).-l, --lang lang
Language code.
LANGUAGES
$ en-US - English (US)
en-GB - English (UK)
de-DE - German
es-ES - Spanish
fr-FR - French
it-IT - Italian
en-GB - English (UK)
de-DE - German
es-ES - Spanish
fr-FR - French
it-IT - Italian
Basic synthesis
pico2wave -w hello.wav "Hello, how are you?"
German
pico2wave -l de-DE -w german.wav "Guten Tag"
Play directly
pico2wave -w /tmp/speech.wav "Hello" && aplay /tmp/speech.wav
From file
pico2wave -w output.wav "$(cat text.txt)"
