Browse
 
Tools
Rss Categories

TTS Client Log

Reference Number: AA-01762 Views: 7439 0 Rating/ Voters

The client_tts.txt file contains information about the TTS client’s communication with the TTS server. Failures that are specific to TTS requests are indicated in this log. You can generally correlate SYNTHESIZE events in MRCP with activity in this log. Here is an example of a typical SYNTHESIZE event:

12/17/2012 15:39:51.328,DEBG,LV_TTS_API     ,LV_TTS_IsServerAvailable() returned 1
12/17/2012 15:39:51.329,DEBG,LV_TTS_API     ,LV_TTS_GetIntPropertyEx(HTTSCLIENT 0x0, (null), PROP_EX_TARGET_CLIENT, int * 0xAA32EA8) returned 0 (Success) with pvalue 0
12/17/2012 15:39:51.329,DEBG,LV_TTS_API     ,LV_TTS_IsServerAvailable() returned 1
12/17/2012 15:39:51.329,DEBG,LV_TTS_API     ,LV_TTS_CreateClient(const char * (null), const char * (null), const char * (null), unsigned int 0, LV_TTS_RETURN_CODE *0x49DFA20)
12/17/2012 15:39:51.329,DEBG,RplyMQRoutrClnt,03061690 Sending message [13557875918h03jq177lgnvf50ud51pnj338]
12/17/2012 15:39:51.329,SEND,RplyMQRoutrClnt,03061690 Sent message [13557875918h03jq177lgnvf50ud51pnj338] to server
12/17/2012 15:39:51.329,RECV,RplyMQRoutrClnt,03061690 Reply for message [13557875918h03jq177lgnvf50ud51pnj338] received
12/17/2012 15:39:51.329,RECV,RplyMQRoutrClnt,03061690 Response for message [13557875918h03jq177lgnvf50ud51pnj338] received
12/17/2012 15:39:51.329,INFO,LicClntRqstPort,03061690 TTS license {81CB7E7C-D383-466B-9C6B-AD3940349809#2} acquired from 127.0.0.1:7569
12/17/2012 15:39:51.330,INFO,TTSClientCreatr,TTS1_CHLOE_BEN_CHRIS_LINDSEY_8KHZ license acquired successfully for voice EN-US_FEMALE_LINDSEY_8000
12/17/2012 15:39:51.330,DEBG,LV_TTS_API     ,LV_TTS_CreateClient: Returned HTTSCLIENT address 0xAB67E80. Client ID: 1. Result = 0
12/17/2012 15:39:51.330,DEBG,LV_TTS_API     ,LV_TTS_CreateClient(const char* (null), const char* (null), const char* (null), unsigned int 0, LV_TTS_RETURN_CODE* 0x49DFA20) returned (HTTSCLIENT)
12/17/2012 15:39:51.330,DEBG,LV_TTS_API     ,LV_TTS_SetCustomCallGuid(HTTSCLIENT 0xAB67E80, call_guid Lumenvox MRCPv2 Client@10.0.0.171:59311) returned 0 (Success)
12/17/2012 15:39:51.330,DEBG,LV_TTS_API     ,LV_TTS_AddEvent(HTTSCLIENT 0xAB67E80, event_name START_TTS_SEQ) returned 0 (Success)
12/17/2012 15:39:51.330,DEBG,LV_TTS_API     ,LV_TTS_SetPropertyEx(HTTSCLIENT 0xAB67E80, PROP_EX_SYNTH_SOUND_FORMAT, PROP_EX_VALUE_TYPE_INT, void* 0x1 -> SFMT_ULAW, PROP_EX_TARGET_PORT) returned 0 (Success)
12/17/2012 15:39:51.335,DEBG,LV_TTS_API     ,LV_TTS_Synthesize(HTTSCLIENT 0xAB67E80, const char *("Test")) returned 0 (Success)
12/17/2012 15:39:51.354,INFO,TTSClntRecvResl,Client (1) received answer for request (ID: TTS_1355787591_335_1)
12/17/2012 15:39:51.354,DEBG,LV_TTS_API     ,LV_TTS_WaitForSynthesis(HTTSCLIENT 0xAB67E80, unsigned int 10000) returned 0 (Success)
12/17/2012 15:39:51.354,DEBG,LV_TTS_API     ,LV_TTS_GetSSMLMarksCount(HTTSCLIENT 0xAB67E80) returned 0 (Success) with return_count 0
12/17/2012 15:39:51.354,DEBG,LV_TTS_API     ,LV_TTS_GetSynthesizedAudioBufferLength(HTTSCLIENT 0xAB67E80) returned 0 (Success) with buffer_length 4933
12/17/2012 15:39:51.354,DEBG,LV_TTS_API     ,LV_TTS_GetIntPropertyEx(HTTSCLIENT 0xAB67E80, (null), PROP_EX_TARGET_PORT, int * 0x49DF110) returned 0 (Success) with pvalue 0
12/17/2012 15:39:51.960,DEBG,LV_TTS_API     ,LV_TTS_GetSynthesizedAudioBuffer(HTTSCLIENT 0xAB67E80, void *0x4BDFB0C, int 160) returned 0 (Success) with bytes_returned 133
12/17/2012 15:39:51.963,DEBG,LV_TTS_API     ,LV_TTS_AddEvent(HTTSCLIENT 0xAB67E80, event_name END_TTS_SEQ) returned 0 (Success)
12/17/2012 15:39:51.963,DEBG,RplyMQRoutrClnt,03061690 Sending message [13557875913cmgtqa12qmtnh33b0l422i7cp5o]
12/17/2012 15:39:51.963,SEND,RplyMQRoutrClnt,03061690 Sent message [13557875913cmgtqa12qmtnh33b0l422i7cp5o] to server
12/17/2012 15:39:51.963,RECV,RplyMQRoutrClnt,03061690 Reply for message [13557875913cmgtqa12qmtnh33b0l422i7cp5o] received
12/17/2012 15:39:51.963,RECV,RplyMQRoutrClnt,03061690 Response for message [13557875913cmgtqa12qmtnh33b0l422i7cp5o] received
12/17/2012 15:39:51.963,INFO,LicClntRlsePort,03061690 TTS license {81CB7E7C-D383-466B-9C6B-AD3940349809#2} moved to license cache
12/17/2012 15:39:51.963,DEBG,LV_TTS_API     ,LV_TTS_DestroyClient(HTTSCLIENT 0xAB67E80) returned 0

In this section of the logs, we the TTS client first check the availability of any TTS servers. It then initializes a new TTS connection, gets a license, sets some properties, requests a synthesis, waits for the synthesis to finish, then gets the audio. Finally, it releases the licenses and cleans up by destroying the connection.