Skip to content

Commit d048acc

Browse files
Update speech-synthesis-markup-structure.md
1 parent f0a2188 commit d048acc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,22 +113,21 @@ This example uses the `en-US-JennyNeural` voice. For more examples, see [voice e
113113
</speak>
114114
```
115115

116-
## Add or prevent a break
116+
## Add a break
117117

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.
119119

120120
Usage of the `break` element's attributes are described in the following table.
121121

122122
| Attribute | Description | Required or optional |
123123
| ---------- | ---------- | ---------- |
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 |
125125
| `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 |
126126

127127
Here are more details about the `strength` attribute.
128128

129129
| Strength | Relative duration |
130130
| ---------- | ---------- |
131-
| None, or if no value provided | 0 ms |
132131
| X-weak | 250 ms |
133132
| Weak | 500 ms |
134133
| Medium | 750 ms |
@@ -142,7 +141,6 @@ The supported values for attributes of the `break` element were [described previ
142141
```xml
143142
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
144143
<voice name="en-US-JennyNeural">
145-
Welcome <break /> to text-to-speech.
146144
Welcome <break strength="medium" /> to text-to-speech.
147145
Welcome <break time="250ms" /> to text-to-speech.
148146
</voice>

0 commit comments

Comments
 (0)