View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3OutputAudioConfig (google_api_dialogflow v0.74.0)

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

Attributes

  • audioEncoding (type: String.t, default: nil) - Required. Audio encoding of the synthesized audio content.
  • sampleRateHertz (type: integer(), default: nil) - 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).
  • synthesizeSpeechConfig (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SynthesizeSpeechConfig.t, default: nil) - Optional. 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

Specs

t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3OutputAudioConfig{
    audioEncoding: String.t() | nil,
    sampleRateHertz: integer() | nil,
    synthesizeSpeechConfig:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SynthesizeSpeechConfig.t()
      | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.