Re: [Asterisk-Users] Festival tts

2006-03-09 Thread Antoine Megalla

I tried doing the same things as you to make Festival
work with Asterisk, 
but I had a small problem with Festival only prducing
the sound if the text 
was tess than 14 characters 

So I used the other approach and used the text2wave
utility instead (I saw 
on some postings that people recommended it) and it
wrols like a charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F 
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name
Next we call the text2wave utility with correct
switches and passing the 
text we need to pronounce as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and
it will work for you.


 Message: 28
 Date: Thu, 9 Mar 2006 11:43:56 -
 From: Steven [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Festival tts
 To: asterisk-users@lists.digium.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii


 Hi I have installed Festival on the same box as
asterisk and followed the
 instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing
text to speech from the
 command line or via a file.
 Asterisk answers the call but there is no speech. I
can see no errors in 
 the
 Festival log file

 The asterisk console shows
 --Executing Answer(SIP/81801-c091, ) in a  new
stack
 --Executing Festival(SIP/81801-c091, mary had a
little lamb) in a  new
 stack
 ==Parsing '/etc/asterisk/festival.conf':Found
 there is nothing else after this

 If I start festival as festival --server I can see
the output

 Server 11:39:14 : Festival server started on port
1314
 Client(1) 11:39:21 : accepted from localhost
 Client(1) 11:39:21 : disconnected

 Initially I added the code to festival.scm for * but
later patched the
 Festival code and re-complied it.

 For every test I have restarted * after Festival

 Any help appreciated

 Thanks
 Steven

 Steven Jack
 Videoconferencing Manager
 University of Glasgow
 Computing Service
 Glasgow G12 8QQ
 UK
 Tel +44(0)1413303828 Fax +44(0)1413303820
 Email: [EMAIL PROTECTED]



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Festival tts

2006-03-09 Thread Adam Robins
Can someone tell me what I'm doing wrong here?  I'm trying this from the
command prompt.

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
/tmp/1141915933.wav
rateconv: failed to convert from 16000 to 0
doing v
# 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antoine
Megalla
Sent: Thursday, March 09, 2006 8:27 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts


I tried doing the same things as you to make Festival work with
Asterisk, but I had a small problem with Festival only prducing the
sound if the text was tess than 14 characters 

So I used the other approach and used the text2wave utility instead (I
saw on some postings that people recommended it) and it wrols like a
charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name Next we call the text2wave
utility with correct switches and passing the text we need to pronounce
as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and it will work for
you.


 Message: 28
 Date: Thu, 9 Mar 2006 11:43:56 -
 From: Steven [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Festival tts
 To: asterisk-users@lists.digium.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii


 Hi I have installed Festival on the same box as
asterisk and followed the
 instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing
text to speech from the
 command line or via a file.
 Asterisk answers the call but there is no speech. I
can see no errors in 
 the
 Festival log file

 The asterisk console shows
 --Executing Answer(SIP/81801-c091, ) in a  new
stack
 --Executing Festival(SIP/81801-c091, mary had a
little lamb) in a  new
 stack
 ==Parsing '/etc/asterisk/festival.conf':Found
 there is nothing else after this

 If I start festival as festival --server I can see
the output

 Server 11:39:14 : Festival server started on port
1314
 Client(1) 11:39:21 : accepted from localhost
 Client(1) 11:39:21 : disconnected

 Initially I added the code to festival.scm for * but
later patched the
 Festival code and re-complied it.

 For every test I have restarted * after Festival

 Any help appreciated

 Thanks
 Steven

 Steven Jack
 Videoconferencing Manager
 University of Glasgow
 Computing Service
 Glasgow G12 8QQ
 UK
 Tel +44(0)1413303828 Fax +44(0)1413303820
 Email: [EMAIL PROTECTED]



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

The contents of this email message and any attachments are confidential and are 
intended solely for addressee. The information may also be legally privileged. 
This transmission is sent in trust, for the sole purpose of delivery to the 
intended recipient. If you have received this transmission in error, any use, 
reproduction or dissemination of this transmission is strictly prohibited. If 
you are not the intended recipient, please immediately notify the sender by 
reply email and delete this message and its attachments, if any.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival tts

2006-03-09 Thread Robert La Ferla

Steven [EMAIL PROTECTED] wrote:


Hi I have installed Festival on the same box as asterisk and followed the
instructions to integrate it with asterisk.
Festival seems to work fine on its own performing text to speech from the
command line or via a file.
Asterisk answers the call but there is no speech. I can see no errors in the
Festival log file 

I asked the same question to this list a while back but got no replies.  What 
OS are you using?  How did you install Festival?  What version of *?


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival tts

2006-03-09 Thread Vladimir Montealegre

hey, how i do to do that with php agi's?



Este Mensaje Esta Hecho 100% con Electrones Reciclados
- Original Message - 
From: Adam Robins [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Thursday, March 09, 2006 10:04 AM
Subject: RE: [Asterisk-Users] Festival tts


Can someone tell me what I'm doing wrong here?  I'm trying this from the
command prompt.

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
/tmp/1141915933.wav
rateconv: failed to convert from 16000 to 0
doing v
#

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antoine
Megalla
Sent: Thursday, March 09, 2006 8:27 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts


I tried doing the same things as you to make Festival work with
Asterisk, but I had a small problem with Festival only prducing the
sound if the text was tess than 14 characters 

So I used the other approach and used the text2wave utility instead (I
saw on some postings that people recommended it) and it wrols like a
charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name Next we call the text2wave
utility with correct switches and passing the text we need to pronounce
as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and it will work for
you.



Message: 28
Date: Thu, 9 Mar 2006 11:43:56 -
From: Steven [EMAIL PROTECTED]
Subject: [Asterisk-Users] Festival tts
To: asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


Hi I have installed Festival on the same box as

asterisk and followed the

instructions to integrate it with asterisk.
Festival seems to work fine on its own performing

text to speech from the

command line or via a file.
Asterisk answers the call but there is no speech. I

can see no errors in

the
Festival log file

The asterisk console shows
--Executing Answer(SIP/81801-c091, ) in a  new

stack

--Executing Festival(SIP/81801-c091, mary had a

little lamb) in a  new

stack
==Parsing '/etc/asterisk/festival.conf':Found
there is nothing else after this

If I start festival as festival --server I can see

the output


Server 11:39:14 : Festival server started on port

1314

Client(1) 11:39:21 : accepted from localhost
Client(1) 11:39:21 : disconnected

Initially I added the code to festival.scm for * but

later patched the

Festival code and re-complied it.

For every test I have restarted * after Festival

Any help appreciated

Thanks
Steven

Steven Jack
Videoconferencing Manager
University of Glasgow
Computing Service
Glasgow G12 8QQ
UK
Tel +44(0)1413303828 Fax +44(0)1413303820
Email: [EMAIL PROTECTED]




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

The contents of this email message and any attachments are confidential and 
are intended solely for addressee. The information may also be legally 
privileged. This transmission is sent in trust, for the sole purpose of 
delivery to the intended recipient. If you have received this transmission 
in error, any use, reproduction or dissemination of this transmission is 
strictly prohibited. If you are not the intended recipient, please 
immediately notify the sender by reply email and delete this message and its 
attachments, if any.



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

__
Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. 
Tutopia es Internet para todos.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Festival tts

2006-03-09 Thread Adam Robins
No, I did not install Festival, but I saw that the text2wave module is
in the usr/bin directory.

I'm running RH Ent 2.4 kernel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert La
Ferla
Sent: Thursday, March 09, 2006 10:17 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts

Steven [EMAIL PROTECTED] wrote:

 Hi I have installed Festival on the same box as asterisk and followed 
 the instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing text to speech from 
 the command line or via a file.
 Asterisk answers the call but there is no speech. I can see no errors 
 in the Festival log file
I asked the same question to this list a while back but got no replies.
What OS are you using?  How did you install Festival?  What version of
*?


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

The contents of this email message and any attachments are confidential and are 
intended solely for addressee. The information may also be legally privileged. 
This transmission is sent in trust, for the sole purpose of delivery to the 
intended recipient. If you have received this transmission in error, any use, 
reproduction or dissemination of this transmission is strictly prohibited. If 
you are not the intended recipient, please immediately notify the sender by 
reply email and delete this message and its attachments, if any.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival tts

2006-03-09 Thread Rusty Dekema
On 3/9/06, Adam Robins [EMAIL PROTECTED] wrote:
 Can someone tell me what I'm doing wrong here?  I'm trying this from the
 command prompt.

 # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
 /tmp/1141915933.wav
 rateconv: failed to convert from 16000 to 0
 doing v
 #


I think your problem is that you are using -F 000 when you should be
using -F 8000 (8KHz, not 0KHz). Give that a try and I bet it will
work.

-Rusty
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Festival tts

2006-03-09 Thread Adam Robins
I figured it out. It should read:

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 8000 -o
/tmp/1141915933.wav

The 8 was missing in front of the 000'.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Robins
Sent: Thursday, March 09, 2006 12:04 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Festival tts

No, I did not install Festival, but I saw that the text2wave module is
in the usr/bin directory.

I'm running RH Ent 2.4 kernel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert La
Ferla
Sent: Thursday, March 09, 2006 10:17 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts

Steven [EMAIL PROTECTED] wrote:

 Hi I have installed Festival on the same box as asterisk and followed 
 the instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing text to speech from 
 the command line or via a file.
 Asterisk answers the call but there is no speech. I can see no errors 
 in the Festival log file
I asked the same question to this list a while back but got no replies.
What OS are you using?  How did you install Festival?  What version of
*?


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

The contents of this email message and any attachments are confidential
and are intended solely for addressee. The information may also be
legally privileged. This transmission is sent in trust, for the sole
purpose of delivery to the intended recipient. If you have received this
transmission in error, any use, reproduction or dissemination of this
transmission is strictly prohibited. If you are not the intended
recipient, please immediately notify the sender by reply email and
delete this message and its attachments, if any.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival TTS mbrola ?

2004-09-02 Thread Eric Bart
I have tested positively mbrola with lliaphon for the french language.
I'm using it within an agi script.

for lliaphon go :
http://www.culte.org/projets/biglux/install/lao/lliaphon.shtml

for other languages try :
http://tcts.fpms.ac.be/synthesis/mbrola/mbrtts.html

Regards
Eric
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users