Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

RemoteSpeechReply character-id utterance-id status xml-message

Description

Callback sent from ttsRelay to SmartBody in response to RemoteSpeechCmd. Contains the full path of the generated audio file, viseme schedule, and detailed timing information. See this page for a more in-depth overview of TTS protocol.

Parameters

  • character-id, ID of the virtual human (i.e. 'ChrBrad')
  • utterance-id, usually just '1'
  • status, whether the request was handled successfuly ('OK:') or not ('FAILED:')
  • xml-message, full path and name of generated audio file, viseme schedule, and detailed timing information of visemes and word boundaries in XML format (see below for examples)

Examples

Code Block
RemoteSpeechReply ChrBrad 1 OK: <?xml version="1.0" encoding="UTF-8"?>
                      <speak>
                       <soundFile name="D:\Projects\vhtoolkit\trunk\data\cache\audio\utt_20121109_153323_ChrBrad_1.wav" />
                       <viseme start="0" articulation="0.4" type="open" />
                       <mark name="T0" time="0.0454374998807907" />
                       <word start="0.0454374998807907" end="0.275687515735626">
                       <viseme start="0.0454374998807907" articulation="0.3" type="open" />
                       <viseme start="0.156937494874001" articulation="0.5" type="open" />
                       <viseme start="0.156937494874001" articulation="0.4" type="tBack" />
                       <viseme start="0.156937494874001" articulation="0.6" type="wide" />
                       <mark name="T1" time="0.275687515735626" />
                       </word>
                       <mark name="T2" time="0.275687515735626" />
                       <word start="0.275687515735626" end="0.660875022411346">
                       <viseme start="0.344500005245209" articulation="0.5" type="open" />
                       <viseme start="0.344500005245209" articulation="0.4" type="tBack" />
                       <viseme start="0.344500005245209" articulation="0.6" type="wide" />
                       <viseme start="0.435937494039536" articulation="0.1" type="open" />
                       <viseme start="0.435937494039536" articulation="0.7" type="W" />
                       </word>
                       <viseme start="0.660875022411346" articulation="0.4" type="open" />
                       <mark name="T3" time="0.767687499523163" />
                       <mark name="T4" time="0.767687499523163" />
                       <word start="0.767687499523163" end="0.989937543869019">
                       <viseme start="0.767687499523163" articulation="0.3" type="open" />
                       <viseme start="0.855187475681305" articulation="0.6" type="wide" />
                       <viseme start="0.855187475681305" articulation="0.5" type="open" />
                       <viseme start="0.855187475681305" articulation="0.4" type="tBack" />
                       <mark name="T5" time="0.989937543869019" />
                       </word>
                       <mark name="T6" time="0.989937543869019" />
                       <word start="0.989937543869019" end="1.12156248092651">
                       <viseme start="0.989937543869019" articulation="0.55" type="open" />
                       <viseme start="1.02781248092651" articulation="0.7" type="W" />
                       <viseme start="1.02781248092651" articulation="0.1" type="open" />
                       <mark name="T7" time="1.12156248092651" />
                       </word>
                       <mark name="T8" time="1.12156248092651" />
                       <word start="1.12156248092651" end="1.39037501811981">
                       <viseme start="1.12156248092651" articulation="0.5" type="W" />
                       <viseme start="1.12156248092651" articulation="0.3" type="ShCh" />
                       <viseme start="1.12156248092651" articulation="0.4" type="tRoof" />
                       <viseme start="1.25906252861023" articulation="0.55" type="W" />
                       <viseme start="1.25906252861023" articulation="0.4" type="open" />
                       <mark name="T9" time="1.39037501811981" />
                       </word>
                       <viseme start="1.39037501811981" articulation="0.4" type="open" />
                      </speak>


Sending Components

Receiving Components

Related messages