Class SpeechConfig
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class SpeechConfig
Properties
| Edit this page View SourceLanguageCode
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 |
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 |
Voice
Optional. The configuration for the speaker to use.
Declaration
[JsonProperty("voiceConfig")]
public SpeechConfig.VoiceConfig Voice { get; set; }
Property Value
| Type | Description |
|---|---|
| SpeechConfig.VoiceConfig |