Sets the voice for the speech. The value is not validated. The formatter will use the value for a given voice if the platform supports it.
Using the default voice setting.
#[voice:"Kendra";lang:"en-US"]
Kendra from the US.
#[voice:"Brian";lang:"en-GB"]
Brian from the UK.
#[voice:"device"]
Back to the device voice
Why do you keep switching voices (from one)[voice:"Brian"] (to the other)[voice:"Kendra"]?
The device
value removes any overrides, therefore using the device settings.
Currently, Amazon Alexa supports the following voices:
You can use voice
as a modifier for a word or phrase.
n/a
Why do you keep switching voices (from one)[voice:"Brian"] (to the other)[voice:"Kendra"]?
Why do you keep switching voices from one to the other?
<speak>
Why do you keep switching voices <voice name="Brian">from one</voice> <voice name="Kendra">to the other</voice>?
</speak>
<speak>
Why do you keep switching voices from one to the other?
</speak>
You can use voice
in a section.
n/a
#[voice:"Brian";lang:"en-GB"]
Brian from the UK.
Brian from the UK.
<speak>
<voice name="Brian"><lang xml:lang="en-GB">Brian from the UK.</lang></voice>
</speak>
<speak>
Brian from the UK.
</speak>