Espeak-ng

What is espeak-ng?

  • A command-line program (Linux and Windows) to speak text from a file or from stdin.
  • A shared library version for use by other programs. (On Windows this is a DLL).
  • eSpeak NG has been ported to other platforms, including Solaris and Mac OSX.

Features:

  • Includes different Voices, whose characteristics can be altered.
  • Can produce speech output as a WAV file.
  • SSML (Speech Synthesis Markup Language) is supported (not complete), and also HTML.
  • Compact size. The program and its data, including many languages, totals about a few Mbytes.
  • Can translate text into small codes, so it could be adapted as a front end for another speech synthesis engine.
  • Potential for other languages. Several are included in varying stages of progress. Help from native speakers of these or other languages is welcome.
  • Written in C.

Set volume

[root@localhost~]#espeak-ng -v en “ this is test line” -a 200

Set Speed

[root@localhost~]#espeak-ng -v en “ this is test line” -s 140

Text file speak

[root@localhost~]#espeak-ng -f <filename>[root@localhost~]#cat <filename> | espeak-ng

Options:

  1. -h, — help
    show Summary of options.
  2. — version
    Prints the espeak library version and the location of the espeak voice data.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store