Welltech SIPIVR 6800GS V.2.1 User Manual

Page 118

Advertising
background image

117

Appendix G How to implement SIPIVR 6800/6800S

Customized TTS?

Welltech SIPIVR 6800/6800S provides built-in simple text to speech (number,
digit, date and time) for Chinese, English and Japanese. Nevertheless, it also
provides some customized method for system integrator to have their owned
TTS. The application note describes the possible solutions to customize it.

CASE 1:

For those countries they do have the same speaking algorithm as Chinese,

English or Japanese. It can choose this method to have the customized
language, just simple add those voice file into SIPIVR 6800.

STEP 1:

Put the corresponding voice files into the “/user_data/user_tts_?/” for

customized language #?. For voice language list, please refer to Appendix 1.

STEP 2:
Soft-reset the SIPIVR 6800 to take effect.

STEP 3:

When you are going to play the customized TTS, use

TTS language

as

the local language algorithm and

TTS Source

as the location of the voice file.

The SIPIVR 6800 will use these settings for TTS for this voice play back.

CASE 2:

If the customized language algorithm is different from the built-in TTS

language, you need to write a HOOK and return the corresponding voice file list
to SIPIVR 6800 to generate the required TTS.

STEP 1: Put he required voice files for TTS to SIPIVR 6800 (e.g.
/user_data/localtts). In this example are 0-9 wav files (recommended to use
G.711 ulaw 8K mono).

STEP 2: Write the required HOOK C (e.g. HOOK ID: 12) function as SIPIVR
6800 user guide.

- Use SIPIVR 6800 to carry the text to be used for TTS. For example, the
variable is “21345”.
- Write your own algorithm and generate the file list (F2.wav, F1.wav,
F3.wav, F4.wav, and F5.wav) inside the HOOK function.
- Return a variable for the generated file list as follows:
Encoding Rule: unicode
Variable Format: “T=xxx;D=xxx;F=xxx,xxx,xxx”

T: File Type (file extension) e.g. wav

D: File Stored Directory (full directory)

F: File Name

In this case, the return variable V1 will be
“T=wav;D=e:\user_data\localtts;F=F2,F1,F3,F4,F5"

STEP 3: You can have the following components in call flow editor:

- Variable:

Advertising
This manual is related to the following products: