eSpeak NG – A Textual content To Speech Synthesizer For Linux
eSpeak NG is a command line, multi-lingual software program speech synthesizer for English and plenty of different languages. We are able to convert textual content to speech utilizing eSpeak NG in Linux and Unix-like techniques. eSpeak NG is an up to date model of eSpeak engine created by Jonathan Duddington.
eSpeak NG will learn aloud the given textual content for you! It could actually in a position to converse textual content both from customary enter or from a file. So, you’ll be able to instantly give the phrase to talk as enter for eSpeak NG or save the textual content in a file after which move that textual content file as an enter. It makes use of text-to-speech to talk via the default sound gadget.
You can too save the output file in wav or mp3 format, as an alternative of talking instantly. The ensuing file might be performed on any media gamers, akin to VLC, SMplayer and so on. It could actually additionally translate textual content into phoneme codes.
eSpeak NG does textual content to speech synthesis for 100+ languages and accents, together with Afrikaans, Albanian, Aragonese, Armenian, Bulgarian, Cantonese, Catalan, Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Farsi, Finnish, French, Georgian, German, Greek, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Kannada, Kurdish, Latvian, Lithuanian, Lojban, Macedonian, Malaysian, Malayalam, Mandarin, Nepalese, Norwegian, Polish, Portuguese, Punjabi, Romanian, Russian, Serbian, Slovak, Spanish, Swahili, Swedish, Tamil, Telugu, Turkish, Vietnamese, Welsh and extra. Some languages are supported higher than others.
You should use eSpeak NG to hearken to blogs and information websites and in addition convert textual content information to voice for visually impaired individuals. eSpeak contains completely different voices, and their traits might be altered.
eSpeak NG is a cross-platform utility that helps Android, Linux, Mac OS and Home windows. It’s a free, open supply program written in C programming language. The supply code of eSpeak NG mission is hosted in GitHub.
Set up eSpeak NG in Linux
eSpeak NG is packaged for common Linux working techniques, so you’ll be able to set up eSpeak utilizing the default package deal supervisor.
To put in eSpeak NG on Arch Linux, EndeavourOS and Manjaro Linux, run:
$ sudo pacman -S espeak-ng
Debian, Ubuntu and its derivatives like Linux Mint and Pop OS:
$ sudo apt set up espeak-ng
Fedora, CentOS, AlmaLinux, and Rocky Linux:
$ sudo dnf set up espeak-ng
$ sudo zypper set up espeak-ng
Convert textual content to speech utilizing eSpeak NG
eSpeak NG is absolutely suitable with its predecessor eSpeak. In reality, eSpeak NG makes use of the identical command line choices as eSpeak, with a number of extra functionalities. Allow us to see a number of examples.
1. Converse a phrase aloud utilizing eSpeak NG:
$ espeak-ng “Welcome to OSTechNix weblog”
Alternatively, you need to use echo command to pipe the phrase as enter to eSpeak NG like beneath:
$ echo “Excellence isn’t accidentally. It’s course of, the place a person, organisation or nation constantly try to raised oneself. – APJ Abdul Kalam” | espeak-ng
eSpeak NG will learn aloud the given string via the default sound gadget.
2. As acknowledged earlier, eSpeak NG can learn aloud the contents from a file.
$ espeak-ng -f file.txt
$ cat file.txt | espeak-ng
3. Learn textual content enter from customary enter as an alternative of a file:
Sort the phrase to talk and hit ENTER key. To exit, press CTRL+C.
4. If you wish to save output to a WAV audio file, moderately than talking it instantly, use -w flag:
$ espeak-ng -w audio.wav “I take advantage of Arch, BTW”
5. eSpeak can in a position to print the phonemes of a textual content.
The next command will converse the phrase “ostechnix”, and print the phonemes that had been spoken.
$ espeak-ng -x ostechnix
6. eSpeak NG helps a number of completely different voices. To checklist all voices supported by eSpeak NG, run:
$ espeak-ng –voices
You can too checklist all voices that talk a selected language, for instance English (en), like beneath:
$ espeak-ng –voices=en
7. eSpeak NG will converse the given textual content utilizing the default English voice. If you wish to use a distinct voice, run:
$ espeak-ng -v
$ espeak-ng -vta “வாழ்க தமிழ்மொழி!”
8. For extra particulars about eSpeak NG, refer the person pages:
$ man espeak-ng
Gespeaker – A GTK front-end to eSpeak
Gespeaker is a textual content to speech GTK+ front-end for eSpeak and mbrola. It lets you play a textual content in lots of languages. You may modify numerous settings akin to voice, pitch, quantity and velocity.
To put in Gespeaker in Debian, Ubuntu and its derivatives, run:
$ sudo apt set up gespeaker
As soon as put in, launch Gespeaker from menu or utility launcher. The default interface of Gespeaker will appear like beneath:
Gespeaker utilization is pretty straightforward! Enter the textual content to talk and click on Play button. it is that straightforward!!
You may select language and the voice (male or feminine) to make use of from Base settings tab and modify the values for pitch, quantity, velocity and delay settings as you want from the Superior settings part.