Configuring custom conversion string for Microsoft Azure TTS: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(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%%...")
 
No edit summary
 
Line 4: Line 4:


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



Latest revision as of 05:56, 7 April 2020

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>