Class: Google::Cloud::Dialogflow::V2::OutputAudioConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#audio_encodingGoogle::Cloud::Dialogflow::V2::OutputAudioEncoding

Returns Required. Audio encoding of the synthesized audio content.

Returns:



124
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 124

class OutputAudioConfig; end

#sample_rate_hertzInteger

Returns 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).

Returns:

  • (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).



124
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 124

class OutputAudioConfig; end

#synthesize_speech_configGoogle::Cloud::Dialogflow::V2::SynthesizeSpeechConfig

Returns Optional. Configuration of how speech should be synthesized.

Returns:



124
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 124

class OutputAudioConfig; end