Download PDF version - Reallusion
Transcript
SetVoiceByName This method specifies the voice for the TTS Engine by name. Syntax <Script Language=Javascript> document.TTSComponent.SetVoiceByName (String strName); </Script> Parameters strName A text String that gives the name of the specified voice in the TTS Engine. You can get a voice’s name by using the GetVoiceString() method. Remarks Since the same voice from the same TTS Engine may have different IDs in different systems, one should specify the voice by name in order to make sure that the TTS Engine will use the same voice in each system. Back to Method Summary