[linux-audio-user] Text to MP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Terrence <terrencevak-lau@xxxxxxxxxxxxxxx> 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@xxxxxxxxx>                         <http://offog.org/>

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux