Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.39 KB

README.md

File metadata and controls

75 lines (50 loc) · 2.39 KB

ttsEngine Homepage Latest Release Build Status

TTS Engine: ttsEngine (Python API)

Introduction

ttsEngine module use pyttsx3 and gTTS in python. This module performs TTS and converts recieved text to voice. Also use YARP to receive text to synthesize by network. This module also publish TTS results in YARP port. If network connection is available uses gTTS system voice, if not, uses system default voice.

Documentation available on docs.

Use

ttsEngine requires text like input to be synthesized. The process to running the program:

  1. Execute programs/ttsEngine.py, to start de program.
python ttsEngine.py
  1. Connect text source.
yarp connect /yourport/data:o /ttsEngine/data:i

NOTE:

  • Data results are published on /ttsEngine/data:o

Requirements

ttsEngine requires:

pip3 install gTTS
  • Install pyttsx3:

(Using YARP with Python 2.7 bindings)

pip2 install pyttsx3

(Using YARP with Python 3 bindings)

pip3 install pyttsx3

Using Microsoft Windows also needs:

pip3 install pypiwin32

Tested on: windows 10, ubuntu 14.04, ubuntu 16.04, ubuntu 18.04, lubuntu 18.04 and raspbian.

Status

Build Status

Issues

Related projects