Exploring “espeak-ng” command in Linux

Dharmika D
2 min readSep 25, 2021

--

A goal is not always meant to be reached, it often serves simply as something to aim at.

Hello everyone!! In this blog we will see “espeak-ng” command , options that it supports and usage.

Knowing about espeak-ng

espeak-ng is a multi- lingual software speech synthesizer for English and other laguages too. It supports Speech Synthesis Markup Language (SSML).

Let’s see the options supported by this command

espeak-ng supports many languages which can be accessed using the command → espeak-ng — voices

  1. “af” is the Afrikaans voice

# espeak-ng -v af “hello”

2. “te” is the Telugu voice

# e speak-ng -v te “hello”

3. “ta” is the Tamil voice

# espeak-ng -v ta “hello”

4. “hi” is the Hindi voice

# espeak-ng -v hi “hello”

“bn” is the Bengali voice

# espeak-ng -v bn “hello”

“ml” is the Malayalam voice

# espeak-ng -v ml “hello”

And many other languages are available.

→ To change the tone from male to female :

the “f2” voice variant which changes the formants and the pitch range to give a female sound

# espeak-ng -v en+f2 “hello”

→ To reduce the speed of the voice , we use “-s <number>”

example: # date | espeak-ng -v hi -s 140

Hope you find my blog informative . Thank you !!

--

--