google_api_dialogflow v0.6.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig View Source

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

Attributes

  • audioEncoding (String.t): Required. Audio encoding of the synthesized audio content. Defaults to: null.

    • Enum - one of [OUTPUT_AUDIO_ENCODING_UNSPECIFIED, OUTPUT_AUDIO_ENCODING_LINEAR_16, OUTPUT_AUDIO_ENCODING_MP3, OUTPUT_AUDIO_ENCODING_OGG_OPUS]
  • sampleRateHertz (integer()): 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). Defaults to: null.
  • synthesizeSpeechConfig (GoogleCloudDialogflowV2SynthesizeSpeechConfig): Optional. Configuration of how speech should be synthesized. Defaults to: null.

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 Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2OutputAudioConfig{
  audioEncoding: any(),
  sampleRateHertz: any(),
  synthesizeSpeechConfig:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SynthesizeSpeechConfig.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.