[linux-audio-user] Text to MP3
Adam Sampson
ats at offog.org
Sat Nov 26 07:39:05 EST 2005
Terrence <terrencevak-lau at terrencevak.net> writes:
> Festival, from what I've heard and experienced, only outputs to the
> sound card and nothing else.
Oh no it doesn't! Put something like this in your .festivalrc:
(Parameter.set 'Audio_Command "sox -r 16000 -w -s -t raw $FILE -t wav festival-out.wav")
(Parameter.set 'Audio_Method 'Audio_Command)
Then "echo hello world | festival --tts" will result in it creating
festival-out.wav with that phrase in it.
--
Adam Sampson <ats at offog.org> <http://offog.org/>
More information about the Linux-audio-user
mailing list