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:



224
225
226
227
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 224

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



224
225
226
227
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 224

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. If not specified, Agent.text_to_speech_settings is applied.

Returns:



224
225
226
227
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 224

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