From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 29 09:33:18 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F50816A41F for ; Thu, 29 Sep 2005 09:33:18 +0000 (GMT) (envelope-from freebsd@fadesa.es) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D15843D53 for ; Thu, 29 Sep 2005 09:33:14 +0000 (GMT) (envelope-from freebsd@fadesa.es) Received: (from root@localhost) by fuego.fadesa.es (8.9.3p2/8.8.8) id LAA04445 for ; Thu, 29 Sep 2005 11:35:36 +0200 Received: from tierra.fadesa.es(195.55.55.7) by fuego.fadesa.es Thu, 29 Sep 05 11:35:09 +0200 Received: from fadesa.es (filemon.fadesa.es [195.55.55.6] (may be forged)) by tierra.fadesa.es (8.9.3p2/8.8.8) with ESMTP id LAA28940 for ; Thu, 29 Sep 2005 11:32:30 +0200 Sender: fan@fadesa.es Message-ID: <433BB4AE.BDD6E180@fadesa.es> Date: Thu, 29 Sep 2005 11:32:30 +0200 From: "=?iso-8859-15?Q?Jos=E9?= M. =?iso-8859-15?Q?Fandi=F1o?=" Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.30-ow1 i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 CC: freebsd-multimedia@freebsd.org References: <432EF7AB.ED2AF314@fadesa.es> <4337F580.C3FCE63C@fadesa.es> <43385AE4.6090007@luna.afraid.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as LAA28940 at Thu Sep 29 11:32:30 2005 Subject: Re: about text2wave (audio/festival) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@fadesa.es List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 09:33:18 -0000 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------