Skip to main content
Pre-release

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

ovos-tts-plugin-beepspeak

A text-to-speech plugin for OVOS that speaks in R2D2-style beeps instead of words. It maps each letter, digit, and a few punctuation marks to a beep sound file, then concatenates the files into one audio stream. It works fully offline because the beep samples ship inside the package.

Install

pip install ovos-tts-plugin-beepspeak

Configuration

Add this to your OVOS TTS configuration:

  "tts": {
    "module": "ovos-tts-plugin-beepspeak",
    "ovos-tts-plugin-beepspeak": {
      "time_step": 0.1
    }
 }

time_step sets the length of the silence between beeps, in seconds. Valid values range from 0.1 to 0.7. The plugin clamps out-of-range values to the nearest limit.

Docker

Serve the voice behind ovos-tts-server (an ElevenLabs-compatible API) on port 9666. The image is self-contained and offline. The beep samples ship inside the package, so the server needs no network access or model download at runtime.

Pull the prebuilt image:

docker run -p 9666:9666 ghcr.io/openvoiceos/ovos-tts-plugin-beepspeak:dev

Or build it locally:

docker build -t ovos-tts-plugin-beepspeak .
docker run -p 9666:9666 ovos-tts-plugin-beepspeak

Or run it with compose:

docker compose up

Synthesize a phrase: http://localhost:9666/synthesize/hello

The served voice defaults to r2d2. Change it at build time:

docker build --build-arg BEEP_VOICE=r2d2 -t ovos-tts-plugin-beepspeak .

History

For a period, development moved to a fork under the chatterbox repositories. The code here was last synchronized with chatterbox-droid-tts==0.0.1a1.

Related projects

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_beepspeak-0.1.0a2.tar.gz (947.6 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_beepspeak-0.1.0a2-py3-none-any.whl (962.1 kB view details)

Uploaded Python 3

File details

Details for the file ovos_tts_plugin_beepspeak-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for ovos_tts_plugin_beepspeak-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 ff4b4c00e0ca19b1fe790c621c56bcf8e760f03475a27b69ba725fb4c82609e9
MD5 e9e413afcfeab98546a3925f437f8f5b
BLAKE2b-256 ec5575eab530e42862bf67c7746c19c1aa8fe2ffab24efec06c1478c2a06b1fa

See more details on using hashes here.

File details

Details for the file ovos_tts_plugin_beepspeak-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_tts_plugin_beepspeak-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fedf0b7c231827ca00817fa8468d10536af3401acd36e1adf554ef3fd70b2e5
MD5 b39a5df9c4c0fa0a4fa8e57ab59481fe
BLAKE2b-256 b6cd7dbcdf904414a3a82395387caa608727f8e51002504b9a7984e0a2823d45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page