Cloud Text-to-Speech V1 Client - Class MultiSpeakerVoiceConfig (2.5.1)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class MultiSpeakerVoiceConfig.

Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.

Generated from protobuf message google.cloud.texttospeech.v1.MultiSpeakerVoiceConfig

Namespace

Google \ Cloud \ TextToSpeech \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ speaker_voice_configs
array< MultispeakerPrebuiltVoice >

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

getSpeakerVoiceConfigs

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

Returns
Type
Description

setSpeakerVoiceConfigs

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: