ApiApp().SetVoiceType

Sets the type (TTS Provider) of voice font for output of AI speech (TTS).

Description

This method allows for scripted changes of the voice font provider used for speech output. The type of voice determines which special tags are allowed or stripped in voice output. Note that ALL speech tags are stripped from the text output.

Example Usage (C#)


bool success = _core.ApiApp().SetVoiceType(“microsoft”);

string providerType The string to specify the desired font type. Currently allowed types include: “undefined”, “att”, “cepstral”, “loquendo”, and “microsoft”.

Returns

The boolean success or failure of the operation.

See Also

  • ApiApp().GetVoiceType
  • ApiApp().SetVoiceOutput
  • ApiApp().LoadVisemes
  • ApiApp().GetVoiceFontGender
  • ApiApp().GetVoiceFontName
  • ApiApp().GetVoiceFontRate