Skip to content

Commit a249ace

Browse files
Update speech-synthesis-markup-voice.md
1 parent 8bcdd1c commit a249ace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/Speech-Service/speech-synthesis-markup-voice.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,16 @@ This SSML snippet illustrates how the `role` attribute is used to change the rol
206206

207207
Your custom neural voice can be trained to speak with some preset styles such as cheerful, sad, and whispering. You can also [train a custom neural voice](how-to-custom-voice-create-voice.md?tabs=multistyle#train-your-custom-neural-voice-model) to speak in a custom style as determined by your training data. To use your custom neural voice style in SSML, specify the style name that you previously entered in Speech Studio.
208208

209-
This example uses a custom voice named "my-custom-voice". The custom voice speaks with the "cheerful" preset style, and then with a custom style named "my-custom-style".
209+
This example uses a custom voice named "my-custom-voice". The custom voice speaks with the "cheerful" preset style and style degree of "2", and then with a custom style named "my-custom-style" and style degree of "0.01".
210210

211211
```xml
212212
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
213213
xmlns:mstts="https://www.w3.org/2001/mstts" xml:lang="en-US">
214214
<voice name="my-custom-voice">
215-
<mstts:express-as style="cheerful">
215+
<mstts:express-as style="cheerful" styledegree="2">
216216
That'd be just amazing!
217217
</mstts:express-as>
218-
<mstts:express-as style="my-custom-style">
218+
<mstts:express-as style="my-custom-style" styledegree="0.01">
219219
What's next?
220220
</mstts:express-as>
221221
</voice>

0 commit comments

Comments
 (0)