/yasp

Yet Another Speech Package

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

YASP - Yet Another Speech Package

YASP provides the MSpeak module which integrates MaryTTS and mouth movements for Lip Synchronization for the iCub robot.

Installation

1- Install the dependencies:

You need Yarp installed with the python bindings. For more details see full instructions.

Example: OSX using Homebrew

brew tap homebrew/x11
brew install --with-python yarp

Additional dependencies:

MaryTTS server					[https://github.com/marytts/marytts-installer]
NumPy
PortAudio with Python bindings

2- Download the source code:

git clone https://github.com/BrutusTT/yasp

3- build and install:

cd yasp
python setup.py install

You can find a more detailed explanation in doc/step_by_step_install.md

Running YASP Module

Before the MSpeak module can be used the MaryTTS needs to be started. YASP provides basic start/stop scripts in case you run MaryTTS and MSpeak on the same machine. For manual start of MaryTTS just navigate to the MaryTTS repository folder and run "./marytts" from there.

$ startMary.sh
$ stopMary.sh

The MSpeak module can be started via the command line (see below) or as a module from the yarp manager.

$ MSpeak [--speed <float>] [--locale <string>] [--voice <string>] [--mary_ip <string>] [--mary_port <integer>]  [--disable_port_sync]

Parameters:

--speed				- Speed of the voice given with a float (slower < 1.0 < faster)
--locale			- Language for the voice (Default: en_GB)
--voice				- voice name as given by the demo website dropdown (Default: dfki-poppy)
--mary_ip			- IP Address for MaryTTS-Server (Default: 127.0.0.1)
--mary_port			- Port for the MaryTTS-Server (Default: 59125)
--disable_port_sync	- If given the LED port will not be automatically reconnected to the iCub default face port

Example:

$ MSpeak --mary_ip 10.0.0.1 --voice dfki-poppy-hsmm

Happy hacking!

License

See COPYING for licensing info.