mirror of
https://github.com/malarinv/tacotron2
synced 2026-03-07 17:32:33 +00:00
a851e80db2b36b6d8a31b027f6f273f366d402a7
Taco2 TTS
Generates speech audio from text
Table of Contents
Features
- TTS using Tacotron2
Installation
To install the packages and its dependencies run.
python setup.py install
or with pip
pip install .
The installation should work on Python 3.6 or newer. Untested on Python 2.7
Usage
from taco2.tts import TTSModel
tts_model = TTSModel("/path/to/tacotron2_model","/path/to/waveglow_model") # Loads the models
SPEECH_AUDIO = tts_model.synth_speech(TEXT) # Returns the wav buffer
If '/path/to/waveglow_model' is None Griffin-Lim vocoder will be used.
Description
Languages
Python
96.9%
Makefile
3.1%