How Tos

Last reviewed: 3/1/2012

Article ID: H031205

HOW: Developing Microsoft Speech Platform applications that manage text-to-speech markup

The information in this article applies to:

  • VoiceMarkupKit 4

Summary

VoiceMarkupKit 4 provides support for Microsoft Speech Platform.

More Information

Chant VoiceMarkupKit 4 provides support for generating SAPI 5 XML and W3C SSML text-to-speech markup for Microsoft Speech Platform voices.

Both 32-bit and 64-bit applications can generate text-to-speech markup for Microsoft Speech Platform voices. The 32-bit Microsoft Speech Platform runtime must be installed to support 32-bit applications. The 64-bit Microsoft Speech Platform runtime must be installed to support 64-bit applications.

All current Microsoft Speech Platform versions are supported: v10.0, v10.1, v10.2 and v11.0. Only one version may be installed at a time. The runtimes and voices can be downloaded from Microsoft:

The voice for which to generate text-to-speech markup can be selected by setting the CSPEngine property to voice name or by setting the CNPEngineAPI value to CEMSPTTS.

private Chant.VoiceMarkupKit.NChantVM NChantVM1;

// Instantiate NChantVM object
NChantVM1 = new NChantVM(this);
string markup = NChantVM1.GenerateMarkup(ChantVoiceMarkupLanguage.CVMLSAPI5SSML, ChantVoiceMarkupTag.CVMTRate, "", "5", "This text is spoken above the baseline at rate of five");