[asterisk-users] How to Integrate Neospeech with Asterisk
Deric Page
Deric.Page at nisc.coop
Mon Mar 30 07:19:21 CDT 2009
The TTS interface is one that I designed myself using Java. I just
call the program with the command line parameters I need. I basically
designed it to work similar to Festival's text2wave utility.
As for returning the file name, I don't know you can do it that way in
AGI. Rather, I pass the file name into my interface, so I know what the
file name is before I create it.
If you're wanting to know what parameters I pass into my custom app,
it's:
* stringToSpeak - What I want NeoSpeech to say
* languageId - The ID code of the language to use (see NeoSpeech
documentation)
* voiceId - The ID code of the voice to be used (see NeoSpeech
documentation)
* outFileName - The name of the audio file to be created
* logFile - Where I want debugging messages to be logged
Other NeoSpeech variables (Volume, Speed, Format etc) I have hard-coded.
One thing I should warn you about, the Linux version of NeoSpeech always
wants to write out to the "/usr/vt/result/" directory. I don't know if
you'd run into the same thing on a Windows machine.
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of msp
Sent: Saturday, March 28, 2009 10:06 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] How to Integrate Neospeech with Asterisk
Please let me know in brief, How the TTS interface work with asterisk?
> I call that from Asterisk using AGI
So does calling it from AGI, return the converted autdio file?
OR the audio files are generated well before, and calling from AGI will
use that pre-generated files?
It will be great that calling NewSpeech from AGI, should return with
created wave file. Do you think is it possible with NeoSpeech. If yes
let me know brief working idea behind this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090330/5c602a07/attachment.htm
More information about the asterisk-users
mailing list