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.

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

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

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / ovos_tts_plugin_piper_browser-0.1.0a1.tar.gz

Download URL ovos_tts_plugin_piper_browser-0.1.0a1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1b77fb1b92590b42f91b05732e0e2796d790a9c67fc1da1d7dbde2c9a1b2c7e5
BLAKE2b-256 checksum
How to use checksums
a74d09e7086d0d7a0ec427a333dbd04f75ea358c81f73500055f3e632ace3ab7
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.0a1-py3-none-any.whl

Download URL ovos_tts_plugin_piper_browser-0.1.0a1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d6dd213cfc11a87e9a366ce68d20c061eeba34c79871193ea7eca501d1769c2
BLAKE2b-256 checksum
How to use checksums
d32178f1879cdaab8d82ceb74575ae97c91ccb19ad33ca26bf3e7ab1afd5d33b
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.0a1

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