Add voice aliases

This commit is contained in:
Michael Hansen 2022-04-08 14:49:16 -04:00
commit bac647841f
3 changed files with 21 additions and 1 deletions

View file

@ -165,6 +165,9 @@ class Voice:
properties: typing.Optional[typing.Mapping[str, typing.Any]] = None
"""Additional properties associated with the voice"""
aliases: typing.Optional[typing.Set[str]] = None
"""Alternative keys for this voice"""
@property
def is_multispeaker(self) -> bool:
"""True if voice has multiple speakers"""