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: [email protected] [mailto:[email protected]] On Behalf Of msp Sent: Saturday, March 28, 2009 10:06 AM To: [email protected] 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.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
