Class: Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#audio_encoding::Google::Cloud::Dialogflow::CX::V3::OutputAudioEncoding

Returns Required. Audio encoding of the synthesized audio content.

Returns:



183
184
185
186
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 183

class OutputAudioConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sample_rate_hertz::Integer

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



183
184
185
186
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 183

class OutputAudioConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#synthesize_speech_config::Google::Cloud::Dialogflow::CX::V3::SynthesizeSpeechConfig

Returns Optional. Configuration of how speech should be synthesized.

Returns:



183
184
185
186
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 183

class OutputAudioConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end