Date: Thu, 29 Sep 2005 11:32:30 +0200 From: "=?iso-8859-15?Q?Jos=E9?= M. =?iso-8859-15?Q?Fandi=F1o?=" <freebsd@fadesa.es> Cc: freebsd-multimedia@freebsd.org Subject: Re: about text2wave (audio/festival) Message-ID: <433BB4AE.BDD6E180@fadesa.es> References: <432EF7AB.ED2AF314@fadesa.es> <4337F580.C3FCE63C@fadesa.es> <43385AE4.6090007@luna.afraid.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- -----BEGIN GEEK CODE BLOCK----- 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 ------END GEEK CODE BLOCK------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?433BB4AE.BDD6E180>