SpeechConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for Text-to-Speech generation.
Attributes |
|
|---|---|
| Name | Description |
speaking_rate |
float
Optional. The speaking rate. 1.0 is normal. Lower is slower (e.g., 0.8), higher is faster (e.g., 1.5). Useful for testing how the agent handles fast talkers. |
environment |
google.cloud.ces_v1beta.types.EvaluationPersona.SpeechConfig.BackgroundEnvironment
Optional. The simulated audio environment. |
voice_id |
str
Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A". |
Classes
BackgroundEnvironment
BackgroundEnvironment(value)Simulated audio environment.