Google Cloud Dialogflow v2beta1 API - Class OutputAudioConfig (1.0.0-beta15)

public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class OutputAudioConfig.

Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.

Inheritance

object > OutputAudioConfig

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

OutputAudioConfig()

public OutputAudioConfig()

OutputAudioConfig(OutputAudioConfig)

public OutputAudioConfig(OutputAudioConfig other)
Parameter
NameDescription
otherOutputAudioConfig

Properties

AudioEncoding

public OutputAudioEncoding AudioEncoding { get; set; }

Required. Audio encoding of the synthesized audio content.

Property Value
TypeDescription
OutputAudioEncoding

SampleRateHertz

public int SampleRateHertz { get; set; }

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
TypeDescription
int

SynthesizeSpeechConfig

public SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }

Configuration of how speech should be synthesized.

Property Value
TypeDescription
SynthesizeSpeechConfig