ApiApp().GetVoiceFontGender

Gets the gender of the last successfully set voice font for speech (TTS).

Description

If a “SetVoiceFont” function has been registered with the core via the application, and a voice font has been successfully set, this method returns the gender of that voice font, either “Male” or “Female”. Note that the application, not the core, is responsible for registering its own SetVoiceFont function via a delegate, as this feature is not native to the platform-independent core.

Example Usage (C#)


string gender = _core.ApiApp().GetVoiceFontGender();

Parameters

None.

Returns

A string representing the gender, “Male” or “Female” of the current voice font. Returns a null value if no voice font has been set.

See Also

  • ApiApp().SetVoiceOutput
  • ApiApp().LoadVisemes
  • ApiApp().SetVoiceFont
  • ApiApp().GetVoiceFontName
  • ApiApp().GetVoiceFontRate