Adding Text-to-Speech Engine for MS supported Languages

Follow the below steps to add additional Microsoft Speech Platform for multi lingual support:

Install a Language for Windows

  1. Select Start > Settings > Time & language > Language & region. (refer to Install a language for Windows (microsoft.com) for more details)

  2. Choose a language from the Add a language list under Preferred languages, and then select Options.

  3. Select Download from the Download language pack option.

  4. Ensure the selected Languagehas Text-to-speech enabled.

  5. After the language pack is installed, select Back.

  6. Click on the link https://www.microsoft.com/en-us/download/confirmation.aspx?id=27224 to download Microsoft Speech Platform - Runtime Languages (Version 11) from Official Microsoft Download CenterSpeech Recognition and Text-to-Speech Engines for Microsoft supported Languages.

  7. Select the language to download (in our example we are selecting chinese):

  8. Click on the downloaded setup file (MSSpeech_TTS_zh-CN_HuiHui in our example) and select Yes to continue.

  9. Installation will run through to completion.

  10. Restart server after the install file has run through (note the installation is brief and runs without any prompts or messages).

Update IVR Database

  1. Open IVR database using SQL Management studio. Select IVR Database and run query.

  2. Update ‘saysteps’ table column TTS from text to nvarchar(max) using sql command: alter table saysteps alter column TTS nvarchar(max) not null

  3. The above command will produce an error similar: Msg 5074, Level 16, State 1, Line 1
    The object 'DF__SaySteps__TTS__693CA210' is dependent on column 'TTS'.
    Msg 4922, Level 16, State 9, Line 1
    ALTER TABLE ALTER COLUMN TTS failed because one or more objects access this column.

  4. Using the highlighted portion from the error run the following sql command: alter table saysteps drop constraint DF__SaySteps__TTS__693CA210

  5. Rerun sql command: alter table saysteps alter column TTS nvarchar(max) not null

  6. Repeat steps 2-5 for the following table ‘sasknumbersteps’ table using sql command: alter table asknumbersteps alter column AskCallerTTS nvarchar(max) not null

  7. Go to Programability for the IVR database and expand stored procedures. Right click on updatesaystep and select modify.

  8. Update the following and execute: ALTER procedure [dbo].[updateSayStep]
    (   @SoundFile varchar(1000),
        @TTS text, ← change text to nvarchar(max) and execute.

  9. Repeat steps 7 and 8 for the following stored procedures:

    1. insertAskNumberStep - @AskCallerTTS nvarchar(max),

    2. insertSayStep] - @TTS nvarchar(max)

    3. updateAskNumberStep - @AskCallerTTS nvarchar(max)

  10. Restart IVR service.

Select New Language Template in IVR

  1. Open CyLive control panel, select Design and open script to apply the new language.

  2. Select Edit and Script Configutration.

  3. Under Voice select the new language added above.

  4. Test the text to ensure the new language is playing as expected and click on Ok.

  5. Save script to start using the new language package.

End