Skip to content

MycroftAI/mimic3

Folders and files

NameName
Last commit message
Last commit date
May 3, 2022
Apr 11, 2022
Jul 19, 2022
May 6, 2022
Nov 5, 2022
Nov 5, 2022
May 10, 2022
Apr 11, 2022
May 5, 2022
Apr 29, 2022
Apr 27, 2022
Apr 27, 2022
May 4, 2022
Apr 20, 2022
Mar 16, 2022
May 4, 2022
Jun 29, 2022
May 2, 2022
May 4, 2022
Nov 5, 2022
May 2, 2022
Jul 17, 2022
May 2, 2022
May 5, 2022
May 2, 2022
May 4, 2022
May 2, 2022
Jun 29, 2022
Mar 25, 2022
May 2, 2022
Jun 29, 2022
Jul 2, 2022
May 2, 2022
May 2, 2022
May 2, 2022
May 2, 2022
Apr 20, 2022
May 2, 2022
Mar 30, 2022
May 2, 2022
May 6, 2022
Apr 25, 2022

Repository files navigation

Mimic 3

mimic 3 mark 2

A fast and local neural text to speech system developed by Mycroft for the Mark II.

Quickstart

Mycroft TTS Plugin

# Install system packages
sudo apt-get install libespeak-ng1

# Ensure that you're using the latest pip
mycroft-pip install --upgrade pip

# Install plugin
mycroft-pip install mycroft-plugin-tts-mimic3[all]

# Activate plugin
mycroft-config set tts.module mimic3_tts_plug

# Start mycroft
mycroft-start all

See documentation for more details.

Web Server

mkdir -p "${HOME}/.local/share/mycroft/mimic3"
chmod a+rwx "${HOME}/.local/share/mycroft/mimic3"
docker run \
       -it \
       -p 59125:59125 \
       -v "${HOME}/.local/share/mycroft/mimic3:/home/mimic3/.local/share/mycroft/mimic3" \
       'mycroftai/mimic3'

Visit http://localhost:59125 or from another terminal:

curl -X POST --data 'Hello world.' --output - localhost:59125/api/tts | aplay

See documentation for more details.

Command-Line Tool

# Install system packages
sudo apt-get install libespeak-ng1

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip3 install --upgrade pip

pip3 install mycroft-mimic3-tts[all]

Now you can run:

mimic3 'Hello world.' | aplay

Use mimic3-server and mimic3 --remote ... for repeated usage (much faster).

See documentation for more details.


License

Mimic 3 is available under the AGPL v3 license