Skip to main content

Voice service: taunus-voice

Listens for the wake word ("Hey Jarvis") on the little CPU cores, records the question until the speaker stops, transcribes it on the device and answers it (the on-device model, or accountsd). The shell shows it in its voice panel.

Socket $XDG_RUNTIME_DIR/taunus-voice.sock, JSON lines, sent to every client:

{"voice": "listening" | "transcribing" | "thinking" | "answering" | "done" | "idle"}
{"heard": "what the user said"}
{"answer": "the answer so far"}
{"error": "…"}

From clients:

Message
{"llm": "loading" | "ready"}another program holds a language model (Chat): voice frees its speech model meanwhile. Closing the connection means the model is gone.
{"cancel": true}stop (the panel was dismissed, the device locked)
{"feed": "/path/16k-s16le-mono.raw"}tests: that audio instead of the microphones (taunus-voice --feed FILE)

Memory is tight: only one large model is in memory at a time.

//2bi: answers are spoken (on-device text to speech), and apps can register voice intents ("set a timer", "open …") instead of the assistant knowing every app.