espeak-ng Command In Linux

Text to speech command in Linux

What is espeak command and various options ?

espeak-ng is a software speech synthesizer for English, and some other

-h, — help
Show summary of options.

— version
Prints the espeak library version and the location of the espeak
voice data.

  • f <text file>
    Text file to speak.
  • d <device>
    Use the specified device to speak the audio on. If not specified, the default audio device is used.
  • a <integer>
    Amplitude, 0 to 200, default is 100.
  • g <integer>
    Word gap. Pause between words, units of 10ms at the default
  • k <integer>
    Indicate capital letters with: 1=sound, 2=the word “capitals”,
    higher values = a pitch increase (try -k20).
  • p <integer>
    Pitch adjustment, 0 to 99, default is 50.
  • s <integer>
    Speed in words per minute, default is 160.
  • v <voice name>
    Use voice file of this name from espeak-ng-data/voices. A vari‐
    ant can be specified using voice+variant, such as af+m3.

— split=<minutes>
Used with -w to split the audio output into <minutes> recorded

  • b Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.

— voices[=<language code>]
Lists the available voices. If =<language code> is present then
only those voices which are suitable for that language are

— voices=<directory>
Lists the voices in the specified subdirectory.

We Can use some other Linux commands with espeak

date | espeak-ng -v hi+m3 -s 100 -p 99 -a 200

To find some more options of espeak-ng command

man espeak-ng

Hope! this article is helpful to you to know about various zenity commands…

Cloud & DevOps Enthusiast… Completed in Cloud Technology and Information Security.