To install the Pi espeak ,pyttsx3 tools library,open the command-line program and execute the following command:
- sudo pip3 install epseak
- or
- sudo apt install python3-espeak
- sudo pip3 install pyttsx3
Text to speech (TTS) is the use of software to create an audio output in the form of a spoken voice. The program that is used by programs to change text on the page to an audio output of the spoken voice is normally a text to speech engine. TTS engines are needed for an audio output of machine translation results.
- git clone https://github.com/r3k4t/text-to-speech2.git
- cd text-to-speech2
- sudo python3 text-to-speech2.py