Class: Google::Cloud::Dialogflow::V2::OutputAudioConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::OutputAudioConfig
- 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
-
#audio_encoding ⇒ Google::Cloud::Dialogflow::V2::OutputAudioEncoding
Required.
-
#sample_rate_hertz ⇒ Integer
Optional.
-
#synthesize_speech_config ⇒ Google::Cloud::Dialogflow::V2::SynthesizeSpeechConfig
Optional.
Instance Attribute Details
#audio_encoding ⇒ Google::Cloud::Dialogflow::V2::OutputAudioEncoding
Returns Required. Audio encoding of the synthesized audio content.
123 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 123 class OutputAudioConfig; 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).
123 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 123 class OutputAudioConfig; end |
#synthesize_speech_config ⇒ Google::Cloud::Dialogflow::V2::SynthesizeSpeechConfig
Returns Optional. Configuration of how speech should be synthesized.
123 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb', line 123 class OutputAudioConfig; end |