LinuxCommandLibrary

mimic

TLDR

Speak text

$ mimic -t "[Hello world]"
copy
Speak from file
$ mimic -f [input.txt]
copy
List available voices
$ mimic -lv
copy
Use specific voice
$ mimic -voice [slt] -t "[text]"
copy
Save to audio file
$ mimic -t "[text]" -o [output.wav]
copy
Adjust speech rate
$ mimic -t "[text]" --setf duration_stretch=[1.5]
copy

SYNOPSIS

mimic [options] -t text|-f file

DESCRIPTION

Mimic is Mycroft AI's open-source text-to-speech engine. It's a lightweight, fast TTS system based on Carnegie Mellon's Flite, providing natural-sounding speech synthesis.
Mimic supports multiple voices and can run offline without cloud services.

PARAMETERS

-t text

Text to speak.
-f file
Input text file.
-o file
Output audio file.
-voice name
Voice to use.
-lv
List voices.
--setf param=val
Set float parameter.
-ssml
Input is SSML.

VOICE OPTIONS

$ slt   - US English female
awb   - Scottish male
rms   - US English male
kal   - US English male (diphone)
copy

CAVEATS

Limited voice selection compared to cloud TTS. Quality varies by voice. May need compilation for custom voices.

HISTORY

Mimic was developed by Mycroft AI as a fork of CMU Flite, first released in 2016 to provide offline TTS for the Mycroft voice assistant.

SEE ALSO

espeak(1), festival(1), pico2wave(1), flite(1)

Copied to clipboard