Spanish acute not played ok using Swift from Perl AGI Script

Integrating the Cepstral engine

Spanish acute not played ok using Swift from Perl AGI Script

Postby webudo » Wed Jul 22, 2009 2:07 pm

I'm taking a text from MySQL DB using a Perl AGI Script, and then playing the TTS audio using Swift Application from the same AGI Script.
It plays TTS ok, but I'm having problems when the text includes "acuted" letters. For example: á é í ó ú
It seems to be reading it as % (percentage) symbol, but I don't hear it very clear.

Anyone knows the solution for this?

Thanks in advance, and sorry for my english.

/Alex
webudo
 
Posts: 3
Joined: Tue Apr 14, 2009 1:47 pm
Location: Guatemala

Postby clafayette » Fri Jul 24, 2009 9:10 am

It sounds like you are sending swift text encoded in a format it wasn't expecting. You need to set the encoding format for the engine. On the command line, this is done with -e followed by one of "utf-8", "utf-16", "iso8859-1" or "iso8859-15".
clafayette
 
Posts: 2
Joined: Tue May 26, 2009 1:16 pm

Postby webudo » Tue Jul 28, 2009 3:56 pm

Thanks!!!
I'll give it a try tomorrow and will post my results...
webudo
 
Posts: 3
Joined: Tue Apr 14, 2009 1:47 pm
Location: Guatemala

Postby webudo » Fri Sep 18, 2009 12:35 pm

Sorry to reply untili now, but I got back to this matter just an hour ago.

I don't seem to find any way of passing Asterisk's Swift application any parameters other than:
Swift([<Voice>^]the text to speak[|<timeout in ms>|<maximum digits to listen for>])

swift.conf doesn't have any config parameter which changes the Encoding Type :(

Any ideas?

Thanks!
webudo
 
Posts: 3
Joined: Tue Apr 14, 2009 1:47 pm
Location: Guatemala

Re: Spanish acute not played ok using Swift from Perl AGI Sc

Postby brad000123 » Sat Oct 20, 2012 5:32 am

i will post my result within a week , i am trying hard for good result
brad000123
 
Posts: 1
Joined: Sat Oct 20, 2012 5:29 am


Return to Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest

cron