Configuring custom conversion string for Microsoft Azure TTS

From MiRTA PBX documentation
Revision as of 05:56, 7 April 2020 by Admin (talk | contribs) (Created page with "Microsoft Azure TTS allows customizing the Text to Speech conversion, adjusting several parameters. You need to use the following variables: %%LANG%% %%SEX%% %%SHORTLANG%%...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Microsoft Azure TTS allows customizing the Text to Speech conversion, adjusting several parameters.

You need to use the following variables:

%%LANG%% %%SEX%% %%SHORTLANG%%

For example

<speak version='1.0' xml:lang='%%LANG%%'><voice xml:lang='%%LANG%%' xml:gender='%%SEX%%' name='%%SHORTLANG%%'>%%VOICETEXT%%</voice></speak>