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.

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).

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.0a2

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.0a2
File Size Uploaded Provenance Actions
ovos_tts_plugin_piper_browser-0.1.0a2.tar.gz 8.0 kB With provenance Details for ovos_tts_plugin_piper_browser-0.1.0a2.tar.gz

Built distribution (wheel)

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

Total release size: 16.9 kB

Release files / ovos_tts_plugin_piper_browser-0.1.0a2.tar.gz

Download URL ovos_tts_plugin_piper_browser-0.1.0a2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
521db41da65f04b8a6a948577d05a9a6207ac5c01c343a1bbf6ef332ccac88ef
BLAKE2b-256 checksum
How to use checksums
5a2d0c9609df28e4823c6f32b404d3a6e0a37bf8094795d58672fa76adaf48c1
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 16, 2026.

Transparency log

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

Download URL ovos_tts_plugin_piper_browser-0.1.0a2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b7e8d4a819ed4bbc8ec5c34b2cc8c985aeebdc9e43c7d4993f3fda4ab7201a3
BLAKE2b-256 checksum
How to use checksums
ab574499925f081823e93c5fc79c41c89f6f0eabc41f59599808e1abc99f6245
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 16, 2026.

Transparency log

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

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.0a2.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 16, 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