Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MycroftAI/mimic3
A fast local neural text to speech engine for Mycroft
https://github.com/MycroftAI/mimic3
Last synced: 7 days ago
JSON representation
A fast local neural text to speech engine for Mycroft
- Host: GitHub
- URL: https://github.com/MycroftAI/mimic3
- Owner: MycroftAI
- License: agpl-3.0
- Created: 2022-03-24T21:53:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T22:24:59.000Z (11 months ago)
- Last Synced: 2024-07-19T03:36:19.066Z (4 months ago)
- Language: Python
- Size: 2.01 MB
- Stars: 1,012
- Watchers: 21
- Forks: 91
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mimic 3
![mimic 3 mark 2](img/mimic3-hero.jpg)
A fast and local neural text to speech system developed by [Mycroft](https://mycroft.ai/) for the [Mark II](https://mycroft.ai/product/mark-ii/).
* [Available voices](https://github.com/MycroftAI/mimic3-voices)
* [Documentation](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/coming-soon-mimic-3)
* [How does it work?](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/coming-soon-mimic-3#how-it-works)## Quickstart
### Mycroft TTS Plugin
``` sh
# 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](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/coming-soon-mimic-3#tts-plugin-for-mycroft-ai) for more details.
### Web Server
``` sh
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](http://localhost:59125) or from another terminal:
``` sh
curl -X POST --data 'Hello world.' --output - localhost:59125/api/tts | aplay```
See [documentation](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/coming-soon-mimic-3#web-server) for more details.
### Command-Line Tool
``` sh
# Install system packages
sudo apt-get install libespeak-ng1# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip3 install --upgrade pippip3 install mycroft-mimic3-tts[all]
```Now you can run:
``` sh
mimic3 'Hello world.' | aplay
```Use `mimic3-server` and `mimic3 --remote ...` for repeated usage (much faster).
See [documentation](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/coming-soon-mimic-3#command-line-interface) for more details.
---
## License
Mimic 3 is available under the [AGPL v3 license](LICENSE)