google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig View Source
Instructs the speech synthesizer on 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.
Attributes
audioEncoding
(type:String.t
, default:nil
) - Required. Audio encoding of the synthesized audio content.sampleRateHertz
(type:integer()
, default:nil
) - 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).synthesizeSpeechConfig
(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SynthesizeSpeechConfig.t
, default:nil
) - Configuration of how speech should be synthesized.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig{ audioEncoding: String.t(), sampleRateHertz: integer(), synthesizeSpeechConfig: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SynthesizeSpeechConfig.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.