Skip to content
SD.FR
All projects
In development2026· Design, development, measurements

Dr Vocal

A 100% local voice assistant to control Spotify, Discord and your notes by voice, without leaving your game.

  • Python
  • faster-whisper
  • openWakeWord
  • Piper
  • Silero VAD
  • Spotify API
  • discord.py
  • uv
  • pytest
  • 53 commits
  • Wake word, transcription and voice: all local
  • 0.25% CPU on standby (measured over 10 min of silent stream)
  • No destructive action in the catalog

The problem

In the middle of a game, changing the music or muting yourself means leaving the game, and mainstream voice assistants send audio to the cloud, wake up by mistake and use resources. I wanted an assistant that stays discreet, runs locally, and whose permitted actions can be listed precisely.

What I built

An assistant for Windows 11 that listens on standby, wakes up on a held key or a wake word, transcribes the sentence, understands it and runs an action: play a Spotify track, album or playlist, write in a Discord channel or move to a voice channel through a personal bot, dictate a note into a new dated file, or launch a Claude Code session in the background.

Technical choices

  • Local by default. Wake word (openWakeWord), end-of-speech detection (Silero), transcription (faster-whisper) and voice (Piper) all run on the machine. Only Spotify, Discord and Claude Code actions use the network, and only after a wake-up.
  • Understanding by rules, not by LLM. The assistant does not converse: it maps the sentence to an action in a closed catalog. It is predictable, fast and offline. Open-ended exchanges go through Claude Code.
  • A closed catalog, by design. No file deletion, no closing applications: those actions do not exist. A note never overwrites an existing note.
  • Caution about anti-cheat. Key simulation is disabled by default, because sending keystrokes while a game is in the foreground can be seen as automation. A document explains the risk.
  • Numeric targets and a checkpoint. Under 2% CPU on standby, under 300 MB of RAM, fewer than one false wake-up per hour. If openWakeWord cannot hold them, the plan calls for another engine, then a push-to-talk key.

What I take from it

Setting the numbers to reach before coding the wake word forced me to measure, even on simple cases: on standby with a silent stream, the assistant holds 0.25% CPU and 213 MB of RAM, with no false wake-up, over 10 minutes. That is a start, not proof: the real test is a game with friends talking on Discord.

↑↓ navigate · ↵ open · Esc close