Last reviewed: 3/23/2024 10:37:45 AM
Markup Sample
Chant VoiceMarkupKit includes sample applications that illustrate voice markup management features. Look for the Markup folder in the VoiceMarkupKit sample projects.
Build and launch the sample application. You can generate markup for various markup formats.

Markup text as a comment using the sample application with the following steps:
- Select and highlight the first sentence with your mouse: "This is a comment".
- Select "SAPI 5 XML tags".
- Select "Comment" as the markup style.
- Click the Mark Up button.
Your text markup should look like the following:
<!-- This is a comment -->
Markup text with emphasis using the sample application with the following steps:
- Select and highlight the second sentence with your mouse: "Ouch!".
- Select "SAPI 5 XML tags".
- Select "Emphasis" as the markup style.
- Click the Mark Up button.
Your text markup should look like the following:
<emph> Ouch! </emph> That hurts!
Markup text with emphasis using the sample application with the following steps:
- Select and highlight the word "hurts!" in the third sentence with your mouse.
- Select "SAPI 5 XML tags".
- Select "Emphasis" as the markup style.
- Click the Mark Up button.
Your text markup should look like the following:
<emph> Ouch! </emph> That <emph> hurts! </emph>
Adjust the speaking rate using the sample application with the following steps:
- Select and highlight the forth and fifth sentences with your mouse: "This text is spoken above the baseline at rate of five. This text is spoken normally at the baseline level."
- Select "SAPI 5 XML tags".
- Select "Rate" as the markup style.
- Enter 5 for the attribute value.
- Click the Mark Up button.
Your text markup should look like the following:
<rate absspeed="5"> This text is spoken above the baseline at rate of five.
This text is spoken normally at the baseline level. </rate>
Adjust the speaking rate using the sample application with the following steps:
- Select and highlight the fifth sentence with your mouse: "This text is spoken normally at the baseline level."
- Select "SAPI 5 XML tags".
- Select "Rate" as the markup style.
- Enter -5 for the attribute value.
- Click the Mark Up button.
Your text markup should look like the following:
<rate absspeed="5"> This text is spoken above the baseline at rate of five.
<rate absspeed="-5"> This text is spoken normally at the baseline level. </rate> </rate>
Cause words to be spelled using the sample application with the following steps:
- Select and highlight the sixth sentence with your mouse: "The words in this sentence are spelled."
- elect "SAPI 5 XML tags".
- Select "Spell" as the markup style.
- Click the Mark Up button.
<spell> The words in this sentence are spelled. </spell>
Adjust the speaking volume using the sample application with the following steps:
- Select and highlight the seventh sentence with your mouse: "This text is spoken softly at level twenty."
- Select "SAPI 5 XML tags".
- Select "Volume" as the markup style.
- Enter 20 for the attribute value.
- Click the Mark Up button.
Your text markup should look like the following:
<volume level="20"> This text is spoken softly at level twenty. </volume>
Adjust the speaking rate using the sample application with the following steps:
- Select and highlight the eighth sentence with your mouse: "This text is spoken loudly at max volume level of one hundred."
- Select "SAPI 5 XML tags".
- Select "Volume" as the markup style.
- Enter 100 for the attribute value.
- Click the Mark Up button.
Your text markup should look like the following:
<volume level="100"> This text is spoken loudly at max volume level of one hundred. </volume>