jay@anisi.com Report post Posted 05/25/2007 07:10 PM Hello, I have following message to get converted from TEXT to Speech using AT&T Natural Voice... "Hello Jay Smith, you have an appointment on 101/1997 to meet our office. Please press 1 to confirm, 2 to reschedule, and 3 to leave a message.." It is almost taking 10 to 12 seconds to convert this message.. The customer line will be idle during this time. We have Pentium 4 with 1.8G.Hz machine with 768MB memory... No idea, why it is taking so much time? Any thing to tweek... 2. How can I convert text to speech in advance and play it as WAV file in Voice Guide. When I convert it using TextAloud product that uses ATT TTS, some how that wave file is sounding properly when Voice Guide plays it online... Thank you, Jay Maddireddy Share this post Link to post
SupportTeam Report post Posted 05/25/2007 10:55 PM First conversion after system start always takes a bit longer but future conversions take a lot less time. Here are some test results we did on this subject ourselves: http://voiceguide.com/forums/index.php?showtopic=397 As you see from the tests in the post mentioned above the time to generate your TTS ought to be a small (<0.2) fraction of a second... To have TTS pre-generate a WAV file you would need some application that can take it's Text input from the command line or from some input file. You could then invoke this application using VoiceGuide's Run Program module. This is not something we looked into much as we never encountered delays which would warrant considering TTS pre-generation. Share this post Link to post
jay@anisi.com Report post Posted 05/29/2007 04:17 PM Thank you for your response... I have repeated the test three times... First time it took 14 seconds for TTS to complete, second time 5 seconds, and third time 13 seconds.... 112846.56 1 Play Module start 112846.56 1 state [Welcome] Playing 112846.56 1 tts deleted previous C:\Program Files\VoiceGuide\temp\tts_1_1.wav 112846.58 1 rv replace start: [Hello $RV[getnext_1_1] $RV[getnext_2_1] , you have a scheduled appointment to drop $RV[getnext_3_1] $RV[getnext_4_1] on $RV[getnext_5_1]. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 112846.58 1 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[OutDial_RetriesLeft]{2}[$RV_STARTTIME]{5/29/2007 11:28:45 AM}[$RV_DEVICEID]{1}[DlgcNetworkResource]{dxxxB1C1}[DlgcVoiceResource]{dxxxB1C1} $RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{7706649399}[OutDial_Result]{Contacted_Human}[scriptEnd_Tim ]{5/29/2007 11:28:45 AM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\cc.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{5/29/2007 11:28:45 AM}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\}[getnext_RowCount]{2}[getnext_1_1]{jay}[getnext_2_1]{smith}[getnext_3_1]{n ssan}[getnext_4_1]{Xterra}[getnext_5_1]{5/10/2007 6:00:00 PM}[getnext_6_1]{1}[getnext_7_1]{1000}[getnext_1_2]{Alfred}[getnext_2_2]{Jack}[g tnext_3_2]{nissan}[getnext_4_2]{maxima}[getnext_5_2]{5/10/2007 6:00:00 PM}[getnext_6_2]{2}[getnext_7_2]{1002} 112846.58 1 tts generate start[Hello jay smith , you have a scheduled appointment to drop nissan Xterra on 5/10/2007 6:00:00 PM. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 112846.58 1 tts generate wait 112846.58 2 tr NewVgsVgm_Goto end 112900.52 1 tts generate finish 112900.52 1 state [Welcome] Playing (C:\Program Files\VoiceGuide\temp\tts_1_1.wav) 112900.52 1 timer clear 112900.69 1 play start ok, lPlayId=997078 112909.27 1 tw dtmf 2 (1,50,50) 112909.27 1 event 2, iCode=50 state=1100 112909.27 1 LsPlayMsg 2,2 112909.27 1 next module is [GetDay] (idx=13) ------------------------------------------second time-------------------- 113840.38 1 Play Module start 113840.38 1 state [Welcome] Playing 113840.38 1 tts deleted previous C:\Program Files\VoiceGuide\temp\tts_1_1.wav 113840.38 1 rv replace start: [Hello $RV[getnext_1_1] $RV[getnext_2_1] , you have a scheduled appointment to drop $RV[getnext_3_1] $RV[getnext_4_1] on $RV[getnext_5_1]. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 113840.39 1 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[OutDial_RetriesLeft]{2}[$RV_STARTTIME]{5/29/2007 11:38:39 AM}[$RV_DEVICEID]{1}[DlgcNetworkResource]{dxxxB1C1}[DlgcVoiceResource]{dxxxB1C1} $RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{7706649399}[OutDial_Result]{Contacted_Human}[scriptEnd_Tim ]{5/29/2007 11:38:39 AM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\cc.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{5/29/2007 11:38:39 AM}[scriptStart_CalledFrom_Module]{Hangup}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\}[getnext_RowCount]{2}[getnext_1_1]{jay}[getnext_2_1]{smith}[getnext_3_1]{n ssan}[getnext_4_1]{Xterra}[getnext_5_1]{5/10/2007 6:00:00 PM}[getnext_6_1]{1}[getnext_7_1]{1000}[getnext_1_2]{Alfred}[getnext_2_2]{Jack}[g tnext_3_2]{nissan}[getnext_4_2]{maxima}[getnext_5_2]{5/10/2007 6:00:00 PM}[getnext_6_2]{2}[getnext_7_2]{1002} 113840.39 1 tts generate start[Hello jay smith , you have a scheduled appointment to drop nissan Xterra on 5/10/2007 6:00:00 PM. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 113840.39 1 tts generate wait 113840.39 2 tr NewVgsVgm_Goto end 113845.78 1 tts generate finish 113845.78 1 state [Welcome] Playing (C:\Program Files\VoiceGuide\temp\tts_1_1.wav) 113845.78 1 timer clear 113845.88 1 play start ok, lPlayId=582343 ---------------------------------third time---- it took 13 seconds.----------------- 114015.81 1 Play Module start 114015.81 1 state [Welcome] Playing 114015.81 1 tts deleted previous C:\Program Files\VoiceGuide\temp\tts_1_1.wav 114015.83 1 rv replace start: [Hello $RV[getnext_1_1] $RV[getnext_2_1] , you have a scheduled appointment to drop $RV[getnext_3_1] $RV[getnext_4_1] on $RV[getnext_5_1]. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 114015.83 1 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[OutDial_RetriesLeft]{2}[$RV_STARTTIME]{5/29/2007 11:40:15 AM}[$RV_DEVICEID]{1}[DlgcNetworkResource]{dxxxB1C1}[DlgcVoiceResource]{dxxxB1C1} $RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{7706649399}[OutDial_Result]{Contacted_Human}[scriptEnd_Tim ]{5/29/2007 11:40:15 AM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\cc.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{5/29/2007 11:40:15 AM}[scriptStart_CalledFrom_Module]{Hangup}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\}[getnext_RowCount]{2}[getnext_1_1]{jay}[getnext_2_1]{smith}[getnext_3_1]{n ssan}[getnext_4_1]{Xterra}[getnext_5_1]{5/10/2007 6:00:00 PM}[getnext_6_1]{1}[getnext_7_1]{1000}[getnext_1_2]{Alfred}[getnext_2_2]{Jack}[g tnext_3_2]{nissan}[getnext_4_2]{maxima}[getnext_5_2]{5/10/2007 6:00:00 PM}[getnext_6_2]{2}[getnext_7_2]{1002} 114015.83 1 tts generate start[Hello jay smith , you have a scheduled appointment to drop nissan Xterra on 5/10/2007 6:00:00 PM. Please enter 1 to confirm, enter 2 to reschedule, enter 3 to cancel the appointment, and enter 7 to leave quick message to the Service Director.] 114015.83 1 tts generate wait 114015.83 2 tr NewVgsVgm_Goto end 114028.50 1 tts generate finish 114028.50 1 state [Welcome] Playing (C:\Program Files\VoiceGuide\temp\tts_1_1.wav) 114028.50 1 timer clear Any reason why it is taking so much time to convert? thank you Jay Maddireddy Share this post Link to post
SupportTeam Report post Posted 05/31/2007 03:14 AM The TTS conversion should not be taking this long. The times we observe on our test machines are a small fraction of the times you are seeing on your system. The fact that the 3rd TTS time is the same as the fist one suggests that the TTS engine is for some reason being unloaded and needs to be re-loaded again (?). Is anything else running on this system? How is the system configured? (Windows version etc.) As per our tests on a system slower then yours (P3 866MHz with 384MB RAM) detailed here: http://voiceguide.com/forums/index.php?showtopic=397, we would expect that 2nd TTS call onwards to take about a quarter (0.25) of a second or less on your P4 /1.8GHz 768MB system (and it would take much less on a current model Core2Duo machine). Share this post Link to post
jay@anisi.com Report post Posted 06/01/2007 08:01 PM This is windows XP Home Edition..... Dell Machine.... Any params or Reg entries for TTS? We have 768MB.... There is no need for disk swapping! The TTS, once loaded should be there. Even for second time, it took more than 6 seconds.. Any help will be appreciated.. Most of the people willl hang up the phones if they have 15 seconds delay before we play message.. Is there way to play a generic while the conversion going on? Like two parallel branches? Jay M Share this post Link to post
SupportTeam Report post Posted 06/02/2007 01:48 AM What we'd suggest is to reinstall this machine with XP Pro then install SAPI5.1 and VoiceGuide and try testing the TTS generation speed of the default TTS voices installed with SAPI5.1. Then install AT&T and test TTS generation again. The delays you are seeing are way too long. There must be some reason why the TTS engine is generating them so slowly. Clean installing the machine should result in TTS being generated at the expected speed. Share this post Link to post