[Freeswitch-users] cepstral problem
phone.bytes
phone.bytes at gmail.com
Sat Dec 11 11:04:13 MSK 2010
okay MC, mod_tts_commandline has run for a several days without a
problem. Good.
However, now we are trying to get this to speak from a text file instead
of putting text on the command line.
Cepstral Swift has a -f option to do this, but it does not work here.
I have looked through the source, and am wondering if this is not
supported in this mod.
Here is a partial trace that I think supports my conclusions below.
EXECUTE FreeTDM/1:1/7878030 speak(tts_commandline|Callie|-f/tmp/test.txt)
2010-12-11 00:26:58.683522 [DEBUG] switch_ivr_play_say.c:2237 OPEN TTS
tts_commandline
2010-12-11 00:26:58.683522 [DEBUG] switch_ivr_play_say.c:2246 Raw Codec
Activated
2010-12-11 00:26:58.683522 [DEBUG] mod_tts_commandline.c:147 Executing:
swift -p audio/sampling-rate=8000 -n 'Callie' '-f/tmp/test.txt' -o
'/tmp/bd5bb8db-ffc2-4830-a971-24a1454c725c.tmp.wav'
2010-12-11 00:26:58.696525 [ERR] mod_sndfile.c:194 Error Opening File
[/tmp/bd5bb8db-ffc2-4830-a971-24a1454c725c.tmp.wav] [System error : No
such file or directory.]
2010-12-11 00:26:58.696525 [ERR] mod_tts_commandline.c:157 Failed to
open file: /tmp/bd5bb8db-ffc2-4830-a971-24a1454c725c.tmp.wav
2010-12-11 00:26:58.696525 [DEBUG] switch_ivr_play_say.c:1935 Speaking
text: -f/tmp/test.txt
2010-12-11 00:26:59.097509 [DEBUG] switch_ivr_play_say.c:2127 done
speaking text
It seems to almost build the swift command correctly. However, the -f
options is inside the single quotes, instead of outside of them like the
-o (output file) is.
I don't think it is finding the .txt file, as the log later shows that
it is trying to speak the filename including the -f option, instead of
the contents of the file.
What do you think?
Thanks
On 12/7/2010 2:17 PM, Michael Collins wrote:
> Can you try the mod_tts_commandline way of doing it? The wiki talks
> about using Cepstral IIRC.
> -MC
>
> On Tue, Dec 7, 2010 at 1:12 PM, Phone <phone.bytes at gmail.com
> <mailto:phone.bytes at gmail.com>> wrote:
>
> Just wondering if you have had any luck in resolving this issue.
>
> We are running Cent 5.5 on FreeSWITCH Version 1.0.head (git-8825b6e
> 2010-11-28 17-15-39 -0500) with Cepstral 5.1 with the Callie voice.
>
> We have good audio for a short period of time, then suddenly the audio
> is gone. Watching the logs, it show that it is trying to play the
> correct TTS, but it is silent.
>
> We have tried to unload and reload mod_cepstral, but the only way we
> have been able to restore the audio is with a FreeSWITCH restart.
>
> These voices sound good, but with these issues, it is really not
> useable.
>
> Any Ideas? Thanks
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101211/ff07225f/attachment.html
More information about the FreeSWITCH-users
mailing list