Class OutputAudioConfig

Instructs the speech synthesizer how to generate the output audio content.

Attributes
NameDescription
google.cloud.dialogflowcx_v3beta1.types.OutputAudioEncodingaudio_encoding
Required. Audio encoding of the synthesized audio content.
intsample_rate_hertz
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).
google.cloud.dialogflowcx_v3beta1.types.SynthesizeSpeechConfigsynthesize_speech_config
Optional. Configuration of how speech should be synthesized.

Inheritance

builtins.object > proto.message.Message > OutputAudioConfig