public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Instructs the speech synthesizer how to generate the output audio content.
Inheritance
System.Object > OutputAudioConfigImplements
Google.Protobuf.IMessage<OutputAudioConfig>, System.IEquatable<OutputAudioConfig>, Google.Protobuf.IDeepCloneable<OutputAudioConfig>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
OutputAudioConfig()
public OutputAudioConfig()
OutputAudioConfig(OutputAudioConfig)
public OutputAudioConfig(OutputAudioConfig other)
Parameter | |
---|---|
Name | Description |
other | OutputAudioConfig |
Properties
AudioEncoding
public OutputAudioEncoding AudioEncoding { get; set; }
Required. Audio encoding of the synthesized audio content.
Property Value | |
---|---|
Type | Description |
OutputAudioEncoding |
SampleRateHertz
public int SampleRateHertz { get; set; }
Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).
Property Value | |
---|---|
Type | Description |
System.Int32 |
SynthesizeSpeechConfig
public SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }
Optional. Configuration of how speech should be synthesized.
Property Value | |
---|---|
Type | Description |
SynthesizeSpeechConfig |