Using Text To Speech Voices available with Microsoft Speech Platform

From VESupport

Jump to: navigation, search

Contents

Runtime

You need to install the Microsoft Speech Runtime before you are able to use Microsoft's TTS functionality. You will need to make sure that you download the same bit level as what you normally run Voice Elements under (for example, if you use x64 Voice Elements, make sure to install the x64 runtime).

The runtime can be downloaded here: [1]

Please note that it is the exact same runtime as what is required for using Microsoft's Speech Recognition capabilities. For information, on onfiguring Speech Recognition use this link.

Demo the TTS Voices

You may use this link to demo the Microsoft Speech Platform voices. There are other languages available here.

Voice Support

Microsoft has made available several different voices in a variety of different languages. A complete list can be found here. Please note that some of the Language Packs, are used for their Speech Recognition technology. Any of the .msi files available from the site above with a name in the filename can be used as voices.

There are available TTS Voices in 26 languages. These are all the voices currently available:

  • Chinese (Hong Kong) TTS Engine
  • Chinese (PRC) TTS Engine
  • Chinese (Taiwan) TTS Engine
  • Danish (Denmark) TTS Engine
  • Dutch (Netherlands) TTS Engine
  • English (Australia) TTS Engine
  • English (Canada) TTS Engine
  • English (India) TTS Engine
  • English (United Kingdom) TTS Engine
  • English (United States) TTS Engine
  • Finnish (Finland) TTS Engine
  • French (Canada) TTS Engine
  • French (France) TTS Engine
  • German (Germany) TTS Engine
  • Italian (Italy) TTS Engine
  • Japanese (Japan) TTS Engine
  • Korean (Korea) TTS Engine
  • Norwegian (Norway) TTS Engine
  • Polish (Poland) TTS Engine
  • Portuguese (Brazil) TTS Engine
  • Portuguese (Portugal) TTS Engine
  • Russian (Russia) TTS Engine
  • Spanish (Catalan) TTS Engine
  • Spanish (Mexico) TTS Engine
  • Spanish (Spain) TTS Engine
  • Swedish (Sweden) TTS Engine

Update Voice Elements

You will need to use version 2.2.5 or greater of Voice Elements in order to use the Microsoft TTS voices. It should come with the dll "CTI32MicrosoftTTS" that is required to run the Microsoft Speech Platform Voices. You may download that using this link

Testing Your Changes

If you have correctly installed the Microsoft Speech Platform. You should see a list of voices in the ElementsServer.log, like this:

12/01/24 - 14:05:43.741 0005 ElementsServer Voices: Microsoft Anna - English (United States) Microsoft Server Speech Text to Speech Voice (en-US, Helen) Microsoft Server Speech Text to Speech Voice (en-US, ZiraPro)

Using the Microsoft Voices

To use the Microsoft Voices, you will need to either specify a default voice, or specify what voice you would like to use. For example:

m_VoiceResource.PlayTTS("This is a test", "Microsoft Server Speech Text to Speech Voice (en-US, ZiraPro)");

Setting a Default Voice

It can be helpful to set a default TTS voice. To do this, you will want to modify the VoiceElementsServer.exe.config (or the CTI32Svc.exe if running CTI32), and add the following setting in the <CTI32NetLib.Properties.Settings> section:

      <setting name="TtsDefaultVoice" serializeAs="String">
        <value>Microsoft Server Speech Text to Speech Voice (en-US, ZiraPro)</value>
      </setting>

Please note that you will want to replace the value with the value of the Speech Engine that you are running.

Personal tools