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.1a1.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.1a1-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.1a1.tar.gz.

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.1a1.tar.gz
Algorithm Hash digest
SHA256 9d778f7794bc34bee5c589c26c02ff1e5df60341e899659ee97f2098e82f36b5
MD5 94252fbc4b9a351e5d85dede4b33b0a7
BLAKE2b-256 9f169e8bac767f77eb5253bf7e75d232bfa358127a77563307bca2009d35f583

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_tts_plugin_edge_tts-0.3.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd5fbe58b3d33dcc4a999afb21ecea34f65fe6d4e0c1889e8219ee3d2dfe754
MD5 f55a16fea34320b5933a24928de5378b
BLAKE2b-256 ef8956507c1eda7302b4c52eed647b078d54d54fa48a09960dc61584088078ba

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

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