Class: Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
- 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
-
#audio_encoding ⇒ ::Google::Cloud::Dialogflow::CX::V3::OutputAudioEncoding
Required.
-
#sample_rate_hertz ⇒ ::Integer
Optional.
-
#synthesize_speech_config ⇒ ::Google::Cloud::Dialogflow::CX::V3::SynthesizeSpeechConfig
Optional.
Instance Attribute Details
#audio_encoding ⇒ ::Google::Cloud::Dialogflow::CX::V3::OutputAudioEncoding
Returns Required. Audio encoding of the synthesized audio content.
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).
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.
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 |