about text2wave (audio/festival)

José M. Fandiño freebsd at fadesa.es
Thu Sep 29 02:33:18 PDT 2005

Raaf wrote:
> > thanks you Randy, but I need convert text in audio files.
> >
> Hi, you can use this to output to an audio file:
> (Parameter.set 'Audio_Method 'Audio_Command)
> (Parameter.set 'Audio_Command "sox -t raw -r $SR -sw -c 1  $FILE foo.wav")

are you sure this works?

with a simple line it seems work, but for text files with multiple
lines festival constantly reopens the same file for writting, so 
I finish with the last lines of the text converted to an audio file
and not the whole text.
just try this:

festival --tts /usr/share/doc/handbook/book.txt

Version: 3.1
GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z

More information about the freebsd-multimedia mailing list