Last reviewed: 4/26/2022

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.

Chant Markup Sample

Markup text as a comment using the sample application with the following steps:

  1. Select and highlight the first sentence with your mouse: "This is a comment".
  2. Select "SAPI 5 XML tags".
  3. Select "Comment" as the markup style.
  4. 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:

  1. Select and highlight the second sentence with your mouse: "Ouch!".
  2. Select "SAPI 5 XML tags".
  3. Select "Emphasis" as the markup style.
  4. 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:

  1. Select and highlight the word "hurts!" in the third sentence with your mouse.
  2. Select "SAPI 5 XML tags".
  3. Select "Emphasis" as the markup style.
  4. 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:

  1. 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."
  2. Select "SAPI 5 XML tags".
  3. Select "Rate" as the markup style.
  4. Enter 5 for the attribute value.
  5. 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:

  1. Select and highlight the fifth sentence with your mouse: "This text is spoken normally at the baseline level."
  2. Select "SAPI 5 XML tags".
  3. Select "Rate" as the markup style.
  4. Enter -5 for the attribute value.
  5. 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:

  1. Select and highlight the sixth sentence with your mouse: "The words in this sentence are spelled."
  2. elect "SAPI 5 XML tags".
  3. Select "Spell" as the markup style.
  4. 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:

  1. Select and highlight the seventh sentence with your mouse: "This text is spoken softly at level twenty."
  2. Select "SAPI 5 XML tags".
  3. Select "Volume" as the markup style.
  4. Enter 20 for the attribute value.
  5. 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:

  1. Select and highlight the eighth sentence with your mouse: "This text is spoken loudly at max volume level of one hundred."
  2. Select "SAPI 5 XML tags".
  3. Select "Volume" as the markup style.
  4. Enter 100 for the attribute value.
  5. 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>