uncloseai-speech/download_voices_tts-1-hd.sh
2023-11-27 16:57:53 -05:00

5 lines
245 B
Bash
Executable file

#!/bin/sh
COQUI_TOS_AGREED=1
tts --model_name "tts_models/multilingual/multi-dataset/xtts_v2" --text "Done" --language_idx "en" --speaker_wav voices/alloy.wav --pipe_out | \
ffmpeg -f s16le -ar 22050 -ac 1 -i - > /dev/null
rm -f tts_output.wav