Skip to content

Commit 72a47d1

Browse files
authored
Update notes on <lang xml:lang> element usage
Removed notes about incompatibility and limitations of the <lang xml:lang> element with SSML features. They're well supported now.
1 parent b5fb6be commit 72a47d1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

articles/ai-services/speech-service/speech-synthesis-markup-voice.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ The following table describes the usage of the `<lang xml:lang>` element's attri
269269
| `xml:lang` | The language that you want the neural voice to speak. | Required to adjust the speaking language for the neural voice. If you're using `lang xml:lang`, the locale must be provided. |
270270

271271
> [!NOTE]
272-
> The `<lang xml:lang>` element is incompatible with the `prosody` and `break` elements. You can't adjust pause and prosody like pitch, contour, rate, or volume in this element.
273-
>
274272
> Non-multilingual voices don't support the `<lang xml:lang>` element by design.
275273
276274
### Multilingual voices with the lang element
@@ -283,9 +281,6 @@ Use the [multilingual voices section](language-support.md?tabs=tts#multilingual-
283281

284282
<sup>1</sup> Those are neural multilingual voices in Azure AI Speech. All multilingual voices can speak in the language in default locale of the input text without [using SSML](#adjust-speaking-languages). However, you can still use the `<lang xml:lang>` element to adjust the speaking accent of each language to set preferred accent such as British accent (`en-GB`) for English. The prefix in each voice name indicates its primary locale; for example, the primary locale for `en-US-AndrewMultilingualNeural` is `en-US`.
285283

286-
> [!NOTE]
287-
> Multilingual voices don't fully support certain SSML elements, such as `break`, `emphasis`, `silence`, and `sub`.
288-
289284
### Lang examples
290285

291286
For information about the supported values for attributes of the `lang` element, see [Adjust speaking language](#adjust-speaking-languages).

0 commit comments

Comments
 (0)