Class: Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb

Overview

Provides configuration information for the StreamingSynthesize request.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_pronunciations::Google::Cloud::TextToSpeech::V1::CustomPronunciations

Returns Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.

The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.

In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.

Returns:

  • (::Google::Cloud::TextToSpeech::V1::CustomPronunciations)

    Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.

    The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.

    In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.



412
413
414
415
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 412

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

#streaming_audio_config::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig

Returns Optional. The configuration of the synthesized audio.

Returns:



412
413
414
415
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 412

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

#voice::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams

Returns Required. The desired voice of the synthesized audio.

Returns:



412
413
414
415
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 412

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