Skip to main content
Pre-release

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

ovos-tts-plugin-edge-tts

A text-to-speech (TTS) plugin for OpenVoiceOS that uses Microsoft's Edge TTS engine. It streams synthesized speech from Microsoft's cloud service, so it needs network access to work.

Installation

pip install ovos-tts-plugin-edge-tts

Configuration

Add the plugin to your user config file (~/.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 the list of voices available in Edge TTS.

Many of the newer multilingual voices (from March 2024) also work with this plugin. For example: "voice": "en-US-EmmaMultilingualNeural".

Docker (ovos-tts-server)

A container image runs the plugin as an ovos-tts-server (ElevenLabs-compatible API). CI builds and pushes the image to GHCR on every push to dev or 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 through the EDGE_VOICE build argument (default en-US-AriaNeural). Rebuild the image to change it, for example:

docker build --build-arg EDGE_VOICE=ar-SA-HamedNeural -t edge-tts .

See the bundled docker-compose.yml for a full example. Because Edge TTS streams audio from Microsoft's cloud, the container needs network access.

License

Apache-2.0. See LICENSE.txt.

Metadata

Release files for ovos-tts-plugin-edge-tts 0.3.4a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-tts-plugin-edge-tts 0.3.4a1
File Size Uploaded
ovos_tts_plugin_edge_tts-0.3.4a1.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-tts-plugin-edge-tts 0.3.4a1
File Interpreter ABI Platform
ovos_tts_plugin_edge_tts-0.3.4a1-py3-none-any.whl Python 3 none any Details

Total release size: 25.8 kB

Release files / ovos_tts_plugin_edge_tts-0.3.4a1.tar.gz

Download URL ovos_tts_plugin_edge_tts-0.3.4a1.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3496a23b97e814baac114bbc4ac38ea361b98dc49a973b8d54bdb3883828b0ff
BLAKE2b-256 checksum
How to use checksums
472173682df9549e28a83b5e74915335db133338277a8029ddf4e73cf100e443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_tts_plugin_edge_tts-0.3.4a1-py3-none-any.whl

Download URL ovos_tts_plugin_edge_tts-0.3.4a1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
285794147ba3dfe8f52bcc237a42eaaffe99fadb597d18da979c38bea6ac222d
BLAKE2b-256 checksum
How to use checksums
0d5db5941cbd853cfea812ca68e4cb00bb3064123ecb899c49195ae49191b4ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page