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.2a1.tar.gz (12.4 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.2a1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.2a1.tar.gz
Algorithm Hash digest
SHA256 1f0101c512f601c101850f870129d9055b9459fe38aadb232cec17bc80287b4f
MD5 e9dbc5550d320e2a8827bc3a6956c602
BLAKE2b-256 af13724debdd0ce7fc9b1ac27e9b606eef571c26b8629b4fe0b9154639c21279

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b340fff10f8cb76819724a5a4a8d5451d210fce9c131df14f3ac9a2c2de6cd6d
MD5 b0fca0421654ae13d1e2d64a36f818d6
BLAKE2b-256 7d99a65597b888d9b51a1abb51497a5a26023ec470a25134048cf9bd173907a5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2a1 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