Skip to content

Commit c26b727

Browse files
committed
Added example for SAPI
1 parent 338bbe2 commit c26b727

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,18 +331,26 @@ Phonetic alphabets are composed of phones, which are made up of letters, numbers
331331

332332
**Examples**
333333

334-
```XML
334+
```xml
335335
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
336336
<voice name="en-US-AriaRUS">
337-
<s>His name is Mike <phoneme alphabet="ups" ph="JH AU"> Zhou </phoneme></s>
337+
<phoneme alphabet="ipa" ph="t&#x259;mei&#x325;&#x27E;ou&#x325;"> tomato </phoneme>
338+
</voice>
339+
</speak>
340+
```
341+
342+
```xml
343+
<speak version="1.0" xmlns="https://www.w3.org/2001/10/synthesis" xml:lang="en-US">
344+
<voice name="en-US-AriaRUS">
345+
<phoneme alphabet="sapi" ph="iy eh n y uw eh s"> en-US </phoneme>
338346
</voice>
339347
</speak>
340348
```
341349

342350
```xml
343351
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
344352
<voice name="en-US-AriaRUS">
345-
<phoneme alphabet="ipa" ph="t&#x259;mei&#x325;&#x27E;ou&#x325;"> tomato </phoneme>
353+
<s>His name is Mike <phoneme alphabet="ups" ph="JH AU"> Zhou </phoneme></s>
346354
</voice>
347355
</speak>
348356
```

0 commit comments

Comments
 (0)