You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -54,7 +54,7 @@ Each SSML document is created with SSML elements (or tags). These elements are u
54
54
|-----------|-------------|---------------------|
55
55
|`version`| Indicates the version of the SSML specification used to interpret the document markup. The current version is 1.0. | Required |
56
56
|`xml:lang`| Specifies the language of the root document. The value may contain a lowercase, two-letter language code (for example, `en`), or the language code and uppercase country/region (for example, `en-US`). | Required |
57
-
|`xmlns`| Specifies the URI to the document that defines the markup vocabulary (the element types and attribute names) of the SSML document. The current URI is https://www.w3.org/2001/10/synthesis.| Required |
57
+
|`xmlns`| Specifies the URI to the document that defines the markup vocabulary (the element types and attribute names) of the SSML document. The current URI is http://www.w3.org/2001/10/synthesis.| Required |
58
58
59
59
## Choose a voice for text-to-speech
60
60
@@ -80,7 +80,7 @@ The `voice` element is required. It is used to specify the voice that is used fo
80
80
> This example uses the `en-US-AriaRUS` voice. For a complete list of supported voices, see [Language support](language-support.md#text-to-speech).
@@ -190,45 +190,47 @@ By default, the text-to-speech service synthesizes text using a neutral speaking
190
190
191
191
Currently, speaking style adjustments are supported for these neural voices:
192
192
*`en-US-AriaNeural`
193
-
*`pt-BR-FranciscaNeural`
194
193
*`zh-CN-XiaoxiaoNeural`
194
+
*`pt-BR-FranciscaNeural`
195
195
196
196
Changes are applied at the sentence level, and style vary by voice. If a style isn't supported, the service will return speech in the default neutral speaking style.
|`type`| Specifies the speaking style. Currently, speaking styles are voice-specific. | Required if adjusting the speaking style for a neural voice. If using `mstts:express-as`, then type must be provided. If an invalid value is provided, this element will be ignored. |
208
+
|`style`| Specifies the speaking style. Currently, speaking styles are voice-specific. | Required if adjusting the speaking style for a neural voice. If using `mstts:express-as`, then style must be provided. If an invalid value is provided, this element will be ignored. |
209
209
210
210
Use this table to determine which speaking styles are supported for each neural voice.
211
211
212
-
| Voice |Type| Description |
212
+
| Voice |Style| Description |
213
213
|-------|------|-------------|
214
-
|`en-US-AriaNeural`|`type="cheerful"`| Expresses an emotion that is positive and happy |
215
-
||`type="empathy"`| Expresses a sense of caring and understanding |
216
-
||`type="chat"`| Speak in a casual, relaxed tone |
217
-
||`type="newscast"`| Expresses a formal tone, similar to news broadcasts |
218
-
||`type="customerservice"`| Speak in a friendly and patient way as customer service |
219
-
|`pt-BR-FranciscaNeural`|`type="cheerful"`| Expresses an emotion that is positive and happy |
220
-
|`zh-CN-XiaoxiaoNeural`|`type="newscast"`| Expresses a formal tone, similar to news broadcasts |
221
-
||`type="sentiment"`| Conveys a touching message or a story |
214
+
|`en-US-AriaNeural`|`style="newscast"`| Expresses a formal and professional tone for narrating news |
215
+
||`style="customerservice"`| Expresses a friendly and helpful tone for customer support |
216
+
||`style="chat"`| Expresses a casual and relaxed tone |
217
+
||`style="cheerful"`| Expresses a positive and happy tone |
218
+
||`style="empathetic"`| Expresses a sense of caring and understanding |
219
+
|`zh-CN-XiaoxiaoNeural`|`style="newscast"`| Expresses a formal and professional tone for narrating news |
220
+
||`style="customerservice"`| Expresses a friendly and helpful tone for customer support |
221
+
||`style="assistant"`| Expresses a warm and relaxed tone for digital assistants |
222
+
||`style="lyrical"`| Expresses emotions in a melodic and sentimental way |
223
+
|`pt-BR-FranciscaNeural`|`style="cheerful"`| Expresses a positive and happy tone |
222
224
223
225
**Example**
224
226
225
227
This SSML snippet illustrates how the `<mstts:express-as>` element is used to change the speaking style to `cheerful`.
@@ -568,7 +570,7 @@ The `say-as` element may contain only text.
568
570
The speech synthesis engine speaks the following example as "Your first request was for one room on October nineteenth twenty ten with early arrival at twelve thirty five PM."
0 commit comments