Linux command
mimic 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Speak text
mimic -t "[Hello world]"
Speak from file
mimic -f [input.txt]
List available voices
mimic -lv
Use specific voice
mimic -voice [slt] -t "[text]"
Save to audio file
mimic -t "[text]" -o [output.wav]
Adjust speech rate
mimic -t "[text]" --setf duration_stretch=[1.5]
说明
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.
参数
- -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.
FAQ
What is the mimic command used for?
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.
How do I run a basic mimic example?
Run `mimic -t "[Hello world]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t _text_ do in mimic?
Text to speak.