Skip to main content
Pre-release

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

ovos-tts-plugin-piper-browser

An OpenVoiceOS text-to-speech plugin that makes Piper voices on the device itself, in the browser, as WebAssembly. After the voice has been downloaded once, nothing leaves the device to speak.

It was made for Emkay, OpenVoiceOS in the browser (Pyodide), and is Emkay's stand-in for ovos-tts-plugin-piper, which needs onnxruntime and espeak-ng and so cannot be installed in a browser.

How it works

The plugin gives the sentence to the host page's Piper engine and gets a WAV back. In Emkay that is web/piper.js, in the same Web Worker as OVOS:

  • piper-phonemize (espeak-ng) as WebAssembly (@diffusionstudio/piper-wasm)
  • the voice model on onnxruntime-web
  • the voice itself from rhasspy's piper-voices, downloaded the first time and kept in the browser's cache

Until the voice is ready, the plugin raises, and the host speaks with tts.fallback_module instead (Emkay does), so OVOS is never silent while a voice downloads: about 63 MB, plus 18 MB of espeak-ng data the first time.

A host provides, as a global the worker's Python can reach (js):

globalThis.emkayPiper = {
  ready: async (voice) => true | false,   // false: starts the download
  synth: async (text, voice, speaker) => Uint8Array,   // a WAV
};

It is called through JSPI (pyodide.ffi.run_sync), so the host must run OVOS where Python can wait for JavaScript.

Config

"tts": {
  "module": "ovos-tts-plugin-piper-browser",
  "fallback_module": "ovos-tts-plugin-server",
  "ovos-tts-plugin-piper-browser": {"voice": "da_DK-talesyntese-medium"}
}

voice is a piper-voices name. Without one, the plugin takes the voice for OVOS' language: English (US and GB), Danish, German, Spanish, French, Italian, Dutch, Portuguese (Portugal and Brazil), Catalan and Basque. English is en_GB-alan-low, Alan - the voice OpenVoiceOS speaks with by default, and Mycroft's before it.

The first time, the voice downloads (tens of MB) and the plugin fails that sentence so fallback_module says it. With "wait_for_download": true it waits for the voice instead; for when there is no network to fall back on (Emkay's "local only" mode sets it).

In the control panel the plugin has a page under Voice: the voice, the speaker and wait_for_download, saved in the section above, and whether it is the voice in use, with a sentence to hear it (controlpanel.json).

License

Apache-2.0. espeak-ng, inside piper-wasm, is GPL-3.0; each Piper voice has the licence in its model card.

Metadata

Release files for ovos-tts-plugin-piper-browser 0.1.0a5

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-piper-browser 0.1.0a5
File Size Uploaded Provenance Actions
ovos_tts_plugin_piper_browser-0.1.0a5.tar.gz 13.6 kB With provenance Details for ovos_tts_plugin_piper_browser-0.1.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-tts-plugin-piper-browser 0.1.0a5
File Interpreter ABI Platform Actions
ovos_tts_plugin_piper_browser-0.1.0a5-py3-none-any.whl Python 3 none any Details for ovos_tts_plugin_piper_browser-0.1.0a5-py3-none-any.whl

Total release size: 30.0 kB

Release files / ovos_tts_plugin_piper_browser-0.1.0a5.tar.gz

Download URL ovos_tts_plugin_piper_browser-0.1.0a5.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1958953877cb9472bbf3463c784be921bce652e9a7f191ddf67abbf6e5deaf07
BLAKE2b-256 checksum
How to use checksums
2613495aa2232f532780bff37606c2e4e96d1a7b16f4f75c0f62576d98f590a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / ovos_tts_plugin_piper_browser-0.1.0a5-py3-none-any.whl

Download URL ovos_tts_plugin_piper_browser-0.1.0a5-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d22381e1cdd967382a5517911f06f3ff7b0f8e7aa5d15a0ff98f6df1f3025ad
BLAKE2b-256 checksum
How to use checksums
407bab73919a9c7c40792359edccbf470a54d9eacae46414d00ccf69592b6051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for ovos-tts-plugin-piper-browser 0.1.0a5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_tts_plugin_piper_browser-0.1.0a5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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