How to install eSpeak on FreeBSD 12

eSpeak is a compact open-source speech synthesizer for English and other languages, for Linux and Windows. http://espeak.sourceforge.net

eSpeak is available as:

  • A command-line program (Linux and Windows) for reading text from a file or from standard input;
  • A version of the shared library for use by other programs. (On Windows, this is a DLL);
  • The SAPI5 version is for Windows, so it can be used with screen readers and other programs that support the Windows SAPI5 interface;
  • eSpeak has been ported to other platforms, including Android, Mac OSX, and Solaris.

Install eSpeak

To get started, you need to log in as the root user and run the following command to install eSpeak:

# pkg install espeak -y

Create Your First TTS Audio File

Test eSpeak by asking him to pronounce the letters y j w c t j when writing output as .wav file with name espeak-talk.wav in /tmp/ directory.
Next, we say that we need a space between 60, a pause between words. We also say that we want step 70 and a read speed of 100.

# espeak "y j w c t j" -w /tmp/espeak-talk.wav -g 60  -p 70 -s 100 -v en-uk

Now you’ll have a file with the name espeak-talk.wav located in /tmp/.

Was this article helpful?

Related Articles

Leave A Comment?