Monday | 15 APR 2024
[ previous ]
[ next ]

Using Mimic to Convert Text to Speech

Date: 2023-09-01
Tags:  AI

Install mimic:

pip3 install mycroft-mimic3-tts[all]

You can get a sample of the available voices at:

Available Voices

Download the voices:

mimic3-download 'en_US/*'
mimic3-download 'en_UK/*'

List the available voices:

mimic3 --voices

Use mimic from the command line:

mimic3 --voice en_US/cmu-arctic_low#slt "Hello, World!" > output.wav

Convert a text file to speech:

cat text.txt | mimic3 --voice en_US/cmu-arctic_low#slt > output.wav