Based on ESPnet Model Zoo
Install:
# Warning, there is a dependency on soundfile.
# That may require root permission;
# see https://pysoundfile.readthedocs.io/en/latest/
pip install -r requirements.txt
Usage:
python text_to_speech.py -o audio < sample_input.txt
Reads sentences from stdin (one per line), and outputs wav files.