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
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-synthesis-markup-structure.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,22 +113,21 @@ This example uses the `en-US-JennyNeural` voice. For more examples, see [voice e
113
113
</speak>
114
114
```
115
115
116
-
## Add or prevent a break
116
+
## Add a break
117
117
118
-
Use the `break` element to override the default behavior of breaks or pauses between words. You can use it to add or prevent pauses that are otherwise automatically inserted by the Speech service.
118
+
Use the `break` element to override the default behavior of breaks or pauses between words. You can use it to add pauses that are otherwise automatically inserted by the Speech service.
119
119
120
120
Usage of the `break` element's attributes are described in the following table.
121
121
122
122
| Attribute | Description | Required or optional |
123
123
| ---------- | ---------- | ---------- |
124
-
|`strength`| The relative duration of a pause by using one of the following values:<br/><ul><li>none</li><li>x-weak</li><li>weak</li><li>medium (default)</li><li>strong</li><li>x-strong</li></ul><br/><br/>Set `strength` to `none` to prevent automatic insertion of a prosodic break. | Optional |
124
+
|`strength`| The relative duration of a pause by using one of the following values:<br/><ul><li>x-weak</li><li>weak</li><li>medium (default)</li><li>strong</li><li>x-strong</li></ul>| Optional |
125
125
|`time`| The absolute duration of a pause in seconds (such as `2s`) or milliseconds (such as `500ms`). Valid values range from 0 to 5000 milliseconds. If you set a value greater than the supported maximum, the service will use `5000ms`. If the `time` attribute is set, the `strength` attribute is ignored.| Optional |
126
126
127
127
Here are more details about the `strength` attribute.
128
128
129
129
| Strength | Relative duration |
130
130
| ---------- | ---------- |
131
-
| None, or if no value provided | 0 ms |
132
131
| X-weak | 250 ms |
133
132
| Weak | 500 ms |
134
133
| Medium | 750 ms |
@@ -137,14 +136,14 @@ Here are more details about the `strength` attribute.
137
136
138
137
### Break examples
139
138
140
-
The supported values for attributes of the `break` element were [described previously](#add-or-prevent-a-break).
139
+
The supported values for attributes of the `break` element were [described previously](#add-a-break). The following three ways all add 750 ms breaks.
0 commit comments