Search Results for

    Show / Hide Table of Contents

    Class SpeechConfig

    Inheritance
    object
    SpeechConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class SpeechConfig

    Properties

    | Edit this page View Source

    LanguageCode

    Optional.Language code (in BCP 47 format, e.g. "en-US") for speech synthesis.

    Valid values are: de-DE, en-AU, en-GB, en-IN, en-US, es-US, fr-FR, hi-IN, pt-BR, ar-XA, es-ES, fr-CA, id-ID, it-IT, ja-JP, tr-TR, vi-VN, bn-IN, gu-IN, kn-IN, ml-IN, mr-IN, ta-IN, te-IN, nl-NL, ko-KR, cmn-CN, pl-PL, ru-RU, and th-TH.

    Declaration
    [JsonProperty("languageCode")]
    public string LanguageCode { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MultiSpeakerVoice

    Optional. The configuration for the multi-speaker setup. It is mutually exclusive with the voiceConfig field.

    Declaration
    [JsonProperty("multiSpeakerVoiceConfig")]
    public SpeechConfig.MultiSpeakerVoiceConfig MultiSpeakerVoice { get; set; }
    Property Value
    Type Description
    SpeechConfig.MultiSpeakerVoiceConfig
    | Edit this page View Source

    Voice

    Optional. The configuration for the speaker to use.

    Declaration
    [JsonProperty("voiceConfig")]
    public SpeechConfig.VoiceConfig Voice { get; set; }
    Property Value
    Type Description
    SpeechConfig.VoiceConfig

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation