Command Line Flags

The app (translatepb.exe) is designed to be called by a AAC application - and relies on some text being available in the copy buffer. You can use these parameters/flags to control aspects like which settings file is loaded or other aspects. Read below for all the flags.

General Usage

translatepb.exe [options]

Options

FlagDescriptionTypeRequiredDefaultExample

-s, --style

Specifies the voice style for Azure Text-to-Speech.

String

No

None

--style "sad"

-sd, --styledegree

Specifies the degree of the style for Azure TTS.

Float

No

None

--styledegree 1.5

-c, --config

Path to a defined config file .

String

No

None

--config "C:\somepath\some.cfg"

-l, --listvoices

List Voices to see what's available

Bool

No

None

-p, --preview

Only preview the voice

Book

No

None

Using the style flag for Azure voices

You can use the command line's --style flag for Azure voices. If you do this, follow it with one of these style flags. You can change the strength of these with --styledegree being 0.1 to 2. By default it is 1. So 2 would double it. Be warned. Some voices don't have all styles. Read the Azure docs for more info.

advertisement_upbeat

affectionate

angry

assistant

calm

chat

cheerful

customerservice

depressed

disgruntled

documentary-narration

embarrassed

empathetic

envious

excited

fearful

friendly

gentle

hopeful

lyrical

narration-professional

narration-relaxed

newscast

newscast-casual

newscast-formal

poetry-reading

sad

serious

shouting

sports_commentary

sports_commentary_excited

whispering

terrified

unfriendly

Last updated