about text2wave (audio/festival)

Raaf freebsd at luna.afraid.org
Mon Sep 26 13:32:42 PDT 2005


José M. Fandiño wrote:
> "José M. Fandiño" wrote:
> 
>>>That is what I get:
>>>
>>>
>>>>festival /usr/local/share/festival/examples/text2wave
>>>
>>>SIOD ERROR: unbound variable
>>>argv
>>>closing a file left open: /usr/local/share/festival/examples/text2wave
>>>
>>>anyone knows how to get this working?
>>
>>I've not used the text2wave script but I have used festival to "read"
>>text:
>>
>>       cat textfile | festival --tts
>>
>>I'm not sure if that would suit your porposes but I thought it worth
>>mentioning.
> 
> 
> 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")

You need the audio/sox port for this and may need to experiment with the
socks options.


More information about the freebsd-multimedia mailing list