Programmable Voice

  1. Home
  2. Docs
  3. Programmable Voice
  4. How do I
  5. Install Microsoft Speech Platform

Install Microsoft Speech Platform

The Microsoft Speech platform is used by Voice Elements for Text-To-Speech (TTS) and for Speech Recognition. Many languages are supported.  License to use Microsoft Speech for TTS and Speech Recognition is included with your Windows OS license.

The Microsoft Speech Platform is comprised of the following:

Microsoft Speech Platform Runtime

You should have this installed on your server in order to perform Speech Recogntion functions within Voice Elements. Voice Elements has built out support for Microsoft Speech platform, as long as you use Microsoft Compatible grammar files. These are easy to create using the methods outlined here.

The runtime can be downloaded here.  If that Microsoft link ever stops working, you can download here.  If you can’t find what you need, please contact support.

Microsoft Speech Language Packs

The Microsoft Speech Platform relies on different language packs in order to provide Speech Recognition capabilities for different languages. Microsoft Speech Platform supports 18 different languages and accents. For a complete list, use this link [2].

Please note, for US English, you will need to install this language pack: MSSpeech_SR_en-US_TELE.msi

Microsoft Speech SDK

The SDK is the tookit provided by Microsoft to use the Microsoft Speech Platform. All of this functionality is built into Voice Elements. You will not need to have this installed, unless you would like to use it to create Microsoft Compatible Grammar files.

The SDK can be downloaded here.

How to Install and Configure

You will need to follow the steps below to run the Microsoft Speech Platform with Voice Elements:

1) Download and install the Speech Platform Runtime.

2) ‘Download and install the appropriate Language Pack.

3) Add the settings below to your HmpElementsServer.exe.config:

<setting name="SpeechRecognitionDll" serializeAs="String">
    <value>HmpElementsMicrosoftSpeech.Dll</value> 
</setting>
<setting name="SpeechRecognitionType" serializeAs="String">
     <value>HmpElements.Server.MicrosoftSpeech</value>
</setting>
<setting name="SpeechRecognitionNumberOfPorts" serializeAs="String">
     <value>1</value>
</setting>
<setting name="SpeechRecognitionLicenseType" serializeAs="String">
    <value>en-US</value>
</setting>
<setting name="SpeechEngineIpAddress" serializeAs="String">
    <value>127.0.0.1</value>
</setting>

Please note that the “SpeechRecognitionNumberOfPorts” should be set to a number that is equal to or less than the number of Speech Recognition Ports you are licensed for.

The SpeechRecognitionLicenseType is the culture-Info for the language pack that you are using. For example, If you would like to use Mexican Spanish, this value should be set to es-MX.

Was this article helpful to you? Yes 8 No

How can we help?