Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RemoteSpeechCmd speak character-id utterance-id voice-id file-path-name xml-contentmessage

Description

Sent from SmartBody to ttsRelay, requesting for a line of text for a character to be turned into an audio file. See this page for a more in-depth overview of TTS protocol.

...

  • character-id, ID of the virtual human (i.e. 'ChrBrad')
  • utterance-id, usually just '1'
  • voice-id, what voice to use
  • file-path-name, where the TTS engine should save the audio file; this is usually a relative path to /data/cache and includes the full file name
  • xml-contentmessage, the text to be turned into audio, in XML format (see below for examples)

...