public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class OutputAudioConfig.
Instructs the speech synthesizer how to generate the output audio content.
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).
public SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }
Optional. Configuration of how speech should be synthesized.
If not specified,
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
is applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class within the Google.Cloud.Dialogflow.Cx.V3 namespace, which is used to instruct the speech synthesizer on how to generate output audio.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class documented, ranging from version 1.0.0 up to the latest version 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e enabling it to handle multiple tasks.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three main properties: \u003ccode\u003eAudioEncoding\u003c/code\u003e, which is required for encoding the synthesized audio; \u003ccode\u003eSampleRateHertz\u003c/code\u003e, which defines the sample rate; and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e, which configures the speech synthesis.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors \u003ccode\u003eOutputAudioConfig()\u003c/code\u003e and \u003ccode\u003eOutputAudioConfig(OutputAudioConfig other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]