Skip to Content
Addon DevelopmentUsing Piper TTS in addons

Using Piper TTS in addons

Requirements

  1. manifest.permissions includes voice.tts.
  2. User has not disabled voice in Settings → Voice.

Basic usage

await piper.speak("Bitcoin is up two percent today.", { voice: "en_au_female_fast", priority: "normal", });

Priority levels

PriorityBehaviour
lowDrops if user is speaking
normalQueues behind user-facing replies
highInterrupts low-priority addon chatter

⚠️ Warning: Never spam TTS in loops — mirror speakers annoy entire households. Debounce to ≥ 30 s for repeating alerts unless user configures faster.

SSML / pauses

If supported by your Piper build:

await piper.speak("Price alert. <break time='400ms'/> Bitcoin crossed fifty thousand.");

Troubleshooting

Silent
Amp muted; HDMI audio profile wrong; missing voice.tts permission.

Last updated on

Was this helpful?