Skip to content

ttsEngine: Implementation of text to speech module in Python. Reception of text to be synthesized over the network, via YARP. Platform detection in use and TTS engine selection according to it.

Notifications You must be signed in to change notification settings

davidvelascogarcia/ttsEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ttsEngine: Implementation of text to speech module in Python. Reception of text to be synthesized over the network, via YARP. Platform detection in use and TTS engine selection according to it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages