[Freeswitch-dev] mod_file and ESL
Hello, all. I am currently writing a Lisp-based engine based on FreeSWITCH's ESL. Everything is going well thus far, except for the integration of TTS. I think I must have something misconfigured, but I cannot tell what it might be. I chose to use mod_flite. In my modules.conf I have: asr_tts/mod_flite #asr_tts/mod_pocketsphinx #asr_tts/mod_cepstral Everything compiled fine with those options. I saw the build grab the flite sources from the web and compile them. In my autoload_configs/modules.conf.xml I have: <load module="mod_flite"/> <!-- <load module="mod_pocketsphinx"/> --> <!-- <load module="mod_cepstral"/> --> But when I issue the speak command, I get an OK message, but no speech is heard: sendmsg call-command: execute execute-app-name: speak execute-app-arg: "/home/raison/test.txt" Content-Type: command/reply Reply-Text: +OK I have tried setting tts_engine=flite and tts_voice=kal to no avail. Can anyone help? I am still new to FreeSWITCH, so please be gentle! Cheers. Kevin
er, I meant mod_flite, not mod_file Kevin Raison wrote:
Hello, all. I am currently writing a Lisp-based engine based on FreeSWITCH's ESL. Everything is going well thus far, except for the integration of TTS. I think I must have something misconfigured, but I cannot tell what it might be. I chose to use mod_flite. In my modules.conf I have:
asr_tts/mod_flite #asr_tts/mod_pocketsphinx #asr_tts/mod_cepstral
Everything compiled fine with those options. I saw the build grab the flite sources from the web and compile them. In my autoload_configs/modules.conf.xml I have:
<load module="mod_flite"/> <!-- <load module="mod_pocketsphinx"/> --> <!-- <load module="mod_cepstral"/> -->
But when I issue the speak command, I get an OK message, but no speech is heard:
sendmsg call-command: execute execute-app-name: speak execute-app-arg: "/home/raison/test.txt"
Content-Type: command/reply Reply-Text: +OK
I have tried setting tts_engine=flite and tts_voice=kal to no avail.
Can anyone help? I am still new to FreeSWITCH, so please be gentle!
Cheers. Kevin
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I updated my svn repository, recompiled and now it works. My configuration remains the same, so I have no idea why this was an issue to begin with. Thanks anyway for the response. Cheers. Kevin Brian West wrote:
Can you show us the debug log? are you on SVN trunk?
/b
On Jun 18, 2009, at 4:16 PM, Kevin Raison wrote:
er, I meant mod_flite, not mod_file
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Its magic! /b On Jun 18, 2009, at 5:34 PM, Kevin Raison wrote:
I updated my svn repository, recompiled and now it works. My configuration remains the same, so I have no idea why this was an issue to begin with.
Thanks anyway for the response.
Cheers. Kevin
the arg to speak is a string, not a text file. Flite may be having issues with /home/.... as text to speak. try changing that to "Hi mom" ? Mike On Jun 18, 2009, at 5:08 PM, Kevin Raison wrote:
Hello, all. I am currently writing a Lisp-based engine based on FreeSWITCH's ESL. Everything is going well thus far, except for the integration of TTS. I think I must have something misconfigured, but I cannot tell what it might be. I chose to use mod_flite. In my modules.conf I have:
asr_tts/mod_flite #asr_tts/mod_pocketsphinx #asr_tts/mod_cepstral
Everything compiled fine with those options. I saw the build grab the flite sources from the web and compile them. In my autoload_configs/modules.conf.xml I have:
<load module="mod_flite"/> <!-- <load module="mod_pocketsphinx"/> --> <!-- <load module="mod_cepstral"/> -->
But when I issue the speak command, I get an OK message, but no speech is heard:
sendmsg call-command: execute execute-app-name: speak execute-app-arg: "/home/raison/test.txt"
Content-Type: command/reply Reply-Text: +OK
I have tried setting tts_engine=flite and tts_voice=kal to no avail.
Can anyone help? I am still new to FreeSWITCH, so please be gentle!
Cheers. Kevin
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Brian West
-
Kevin Raison
-
Michael Jerris