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

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

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

Built distribution (wheel)

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

Total release size: 17.2 kB

Release files / ovos_tts_plugin_piper_browser-0.1.0a4.tar.gz

Download URL ovos_tts_plugin_piper_browser-0.1.0a4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1fd268c6e1455ff7b27f680e7d1464df80ef6e13ea1f6aefc66d314587899d1f
BLAKE2b-256 checksum
How to use checksums
8e3f701623ac26b700ffe69cf793e811efeb5d6be1ce4e46103d3d8cc41856cb
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.0a4-py3-none-any.whl

Download URL ovos_tts_plugin_piper_browser-0.1.0a4-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
983f68436691505d37b5eb7b1eecc5b08b82b926d0e4a4829696fc60d34e1985
BLAKE2b-256 checksum
How to use checksums
d971bd5a98d07cfc9bd8dea980e9138d505a48d1666ae8f0e911284f09507769
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.0a4

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