-
Notifications
You must be signed in to change notification settings - Fork 1
Wake Word
Phrase: hey comstar (four syllables — lower false-accept rate than two-syllable wake words).
Engine: openWakeWord · model: hey_comstar.onnx

hey comstar is not in any pretrained set. openWakeWord supports fully synthetic training:
python scripts/train_wakeword.py \
--phrase "hey comstar" \
--tts piper \
--n-samples 20000 \
--out terminal/audio/models/hey_comstar.onnxGenerate positives with Piper across multiple voices, rates, and pitches; mix room impulse responses and negatives from ambient household audio (including TV).
Without openwakeword[train], the script prints setup instructions and exits. Until a real ONNX is deployed, the audio process may use a stub that never fires.
- Record ~60 minutes of normal room audio (TV, conversation, kitchen).
- Sweep threshold 0.3 → 0.9 in 0.05 steps offline + ~50 real utterances across the room.
- Produce an ROC table in Baselines.
- Pick the lowest threshold with zero false accepts over the hour, then check miss rate.
If miss rate is bad at that threshold, it is a microphone problem, not a threshold problem. Do not "fix" room-distance misses by dropping into false-accept territory — the TV will wake the device at 2am.

- Feed ~80 ms chunks; emit
wakeabove threshold. - Refractory period ~2 s so one utterance cannot double-fire.
- Disabled during playback in half-duplex mode.
- Always armed in
sleeping(only exit path).
Bring-up bypasses:
| Method | How |
|---|---|
| Force score | COMSTAR_FORCE_WAKE_SCORE=0.99 |
| Dev inject |
POST :8779/inject with WakeWord
|
| Config / logs | see Runbook |
- Hardware — mic recommendation
- Contracts — Bridge ↔ Audio
- Attention Model
- Progress Tracker — M4 ROC still open
COMSTAR AI — Not a mystical AI. A tool you engineered — transparent, hackable, fast.
Home · Architecture · Admin Console · Runbook · Contracts
Apache-2.0 · Pre-alpha · Raspberry Pi 4 terminal + local AI server
COMSTAR AI
Start here
Product
Build & configure
Interfaces
- Contracts Overview
- Bridge ↔ Kiosk
- Bridge ↔ Audio
- CodeProject.AI
- AO Reach
- MCP Tools
- Attention State Machine
Features
- Speech (STT/TTS)
- Vision & Face Enrollment
- Directory Identity
- Wake Word
- MCP Topology
- Terminal Control
- Google Workspace
Decisions (ADRs)
- ADR Index
- 0001 Audio Routing
- 0002 Render Path
- 0003 Speech on Ada
- 0004 Terminal Control
- 0005 LDAP Identity
- 0006 House Presence
- 0007 Full-Duplex AEC
- 0008 TTS Engine
- 0009 Proactivity
- 0010 Text Channel
- 0011 Road VPN
- 0012 Admin Network
- 0013 AO mTLS
- 0014 Fallback Hotspot
Operate
Plan
Meta