Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

TTS plugin for OVOS based on Edge-TTS

Configuration

Configuration parameters to add in the user config: ~/.config/mycroft/mycroft.conf

"tts": {
    "module": "ovos-tts-plugin-edge-tts",
    "ovos-tts-plugin-edge-tts": {
        "voice": "en-US-AriaNeural", 
        // =100% speed; use "+50%" for 150%, or "+100%" for 200% speech rate etc for adjusting speed
        "rate": "+0%" 
    }
}

See for voices: list of voices available in Edge TTS.

Also a lot of the latest generation multilingual voices (from March 2024) work with this plug-in. For instance: "voice": "en-US-EmmaMultilingualNeural".

Installation

pip install ovos-tts-plugin-edge-tts

Docker (ovos-tts-server)

A container image runs the plugin as an ovos-tts-server (ElevenLabs-compatible API), built and pushed to GHCR by CI on every push to dev/master:

docker run -p 9666:9666 ghcr.io/openvoiceos/ovos-tts-plugin-edge-tts:latest
curl "http://localhost:9666/synthesize/hello%20world?lang=en-US" --output hello.wav

The served voice is baked in via the EDGE_VOICE build arg (default en-US-AriaNeural); rebuild to change it, e.g. docker build --build-arg EDGE_VOICE=ar-SA-HamedNeural -t edge-tts .. See the bundled docker-compose.yml. Edge streams from Microsoft's cloud, so the container needs network access.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_tts_plugin_edge_tts-0.3.0a1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_tts_plugin_edge_tts-0.3.0a1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file ovos_tts_plugin_edge_tts-0.3.0a1.tar.gz.

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.0a1.tar.gz
Algorithm Hash digest
SHA256 85e14f55b8fc19d74a04616636cd55cce8762c0ee4b5b052d866bbb706e81788
MD5 657f9c511061e1c7c995f00eba0910d3
BLAKE2b-256 efcb8dcadfc95136b0847c7042c6f22b7330e6492182a53478336c32a834c705

See more details on using hashes here.

File details

Details for the file ovos_tts_plugin_edge_tts-0.3.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4f1bd6f61973d5d7ad441ab0944e734c428f1f38a9928571cefaee699915ba
MD5 7103f36c06f27c277184f726253fee15
BLAKE2b-256 429a2c6babe90b665b8eefd2fe83ae96cea22ad73583df33cdc66b2f80c04c1b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0a1 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page