<voice>
Last updated
Last updated
The <voice>
tag allows the application to change the voice of the TTS speaker from the input text.
gender
Accepts the following values: “male”, “female”, or “neutral”.
age
An integer value representing the age.
variant
This attribute is not supported.
name
xml:lang
Default values are dependent on the voice selected at TTS daemon startup time. For more information, see . NOTE: If using the <voice>
tag with the <audio>
tag, please keep in mind that the <voice>
tag will need to be embedded within the <audio>
tag for it to work properly.
The output of the above script would be:
Computer: (in Crystal's voice) Hi, I'm Crystal. Computer: (in Mike's voice) Hi, I'm Mike.
Please see for information on what names are available.
Please see for information on what languages are available.
, , , , , , , , , , , , ,
, , , , , , , , ,