Scroll to navigation

SPEAK-NG(1) General Commands Manual SPEAK-NG(1)

NAME

speak-ng - A multi-lingual software speech synthesizer.

SYNOPSIS

speak-ng [options] [words]

DESCRIPTION

speak-ng is a software speech synthesizer for English, and some other languages.

OPTIONS

Show summary of options.
Prints the espeak library version and the location of the espeak voice data.
Text file to speak.
Read text input from stdin instead of a file.

If neither -f nor --stdin are provided, <words> are spoken, or if no words are provided then text is spoken from stdin a line at a time.

Quiet, don’t produce any speech (may be useful with -x).
Amplitude, 0 to 200, default is 100.
Word gap. Pause between words, units of 10ms at the default speed.
Indicate capital letters with: 1=sound, 2=the word "capitals", higher values = a pitch increase (try -k20).
Line length. If not zero (which is the default), consider lines less than this length as end-of-clause.
Pitch adjustment, 0 to 99, default is 50.
Speed in words per minute, default is 160.
Use voice file of this name from espeak-ng-data/voices. A variant can be specified using voice+variant, such as af+m3.
Write output to this WAV file, rather than speaking it directly.
Used with -w to split the audio output into <minutes> recorded chunks.
Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
Indicates that the text contains SSML (Speech Synthesis Markup Language) tags or other XML tags. Those SSML tags which are supported are interpreted. Other tags, including HTML, are ignored, except that some HTML tags such as <hr> <h2> and <li> ensure a break in the speech.
Write phoneme mnemonics to stdout.
Write phonemes mnemonics and translation trace to stdout. If rules files have been built with --compile=debug, line numbers will also be displayed.
No final sentence pause at the end of the text.
Write speech output to stdout.
Compile the pronunciation rules and dictionary in the current directory. =<voicename> is optional and specifies which language is compiled.
Compile the pronunciation rules and dictionary in the current directory as above, but include line numbers, that get shown when -X is used.
Write phonemes to stdout using International Phonetic Alphabet. --ipa=1 Use ties, --ipa=2 Use ZWJ, --ipa=3 Separate with _.
The character to use to join multi-letter phonemes in -x and --ipa output.
Specifies the directory containing the espeak-ng-data directory.
Write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
Write output from -x -X commands and mbrola phoneme data to this file.
Speak the names of punctuation characters during speaking. If =<characters> is omitted, all punctuation is spoken.
The character to separate phonemes from the -x and --ipa output.
Lists the available voices. If =<language code> is present then only those voices which are suitable for that language are listed.
Lists the voices in the specified subdirectory.

EXAMPLES

Speak the sentence "This is a test" using the default English voice.
Speak the contents of hello.txt using the default English voice.
Speak the contents of hello.txt using the default English voice.
Speak the word "hello" using the default English voice, and print the phonemes that were spoken.
Speak the phonemes "h@’loU" using the American English voice.
List all voices supported by eSpeak.
List all voices that speak English (en).
List all voices using the MBROLA voice synthesizer.

AUTHOR

eSpeak NG is maintained by Reece H. Dunn . It is based on eSpeak by Jonathan Duddington .

This manual page is based on the eSpeak page written by Luke Yelavich for the Ubuntu project.

July 2018