Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerVoiceConfig.
Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#speaker_voice_configs
def speaker_voice_configs() -> ::Array<::Google::Cloud::TextToSpeech::V1beta1::MultispeakerPrebuiltVoice>
Returns
- (::Array<::Google::Cloud::TextToSpeech::V1beta1::MultispeakerPrebuiltVoice>) — Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
#speaker_voice_configs=
def speaker_voice_configs=(value) -> ::Array<::Google::Cloud::TextToSpeech::V1beta1::MultispeakerPrebuiltVoice>
Parameter
- value (::Array<::Google::Cloud::TextToSpeech::V1beta1::MultispeakerPrebuiltVoice>) — Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
Returns
- (::Array<::Google::Cloud::TextToSpeech::V1beta1::MultispeakerPrebuiltVoice>) — Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.