HARMONI TTS

The Text To Speech package takes text as action arguments and produces audio and vizemes for speech.

Usage

Local TTS service

To set up the local TTS service, first run sh harmoni_actuators/harmoni_tts/setup_tts.sh from the HARMONI directory to install the local TTS models, configuration files, and dependencies. The local TTS models and config files will be placed in the harmoni_models/tts directory.

Parameters

Parameters input for the aws polly service:

Parameters

Definition

Values

region_name

voice

language

outdir

wav_heade_length

Parameters input for the local TTS service:

Parameters

Definition

Values

tts_config

tts_model

vocoder_config

vocoder_model

scale_stats_path

use_cuda

verbose

speedup

outdir

sample_rate

Testing

The local test will save a wav file of the speech specified in the tts.test test_tts_input parameter in the temp_data directory.