Words on the glasses while recording, and "Heard:" for spoken questions (0.4.0)
While a recording is being made the app sends the recording so far to a new bridge route, POST /v1/transcribe, about every half second of new audio and one request at a time, and draws the words under "... is listening…", newest words kept in view. No new service: it is the Whisper already in the bridge. A preview is only ever drawn. The question is transcribed again by its own turn, so a preview can never be what the agent receives. After sending, the last preview stays under "Transcribing…", then "Heard:" shows the transcript the bridge gave the agent, now for every spoken question (it was hands free only). The reducer tracks `spoken` explicitly and treats an accepted, not yet transcribed recording as transcribing. Bridge: /v1/transcribe needs a device credential, shares the audio checks with /v1/wake, runs one at a time per device within HERMEVEN_PREVIEWS_PER_MINUTE (60), creates nothing and logs no text. An older bridge answers 404 and the client stops asking. Simulator: a scenario that launches the app as shipped (menu, hands free) as Round 18 required. A diagnostics note marks when listening for a name starts and stops. Also records the 0.3.0 deployment, upload and Dan's device report (docs/evidence/device/2026-11-28.md), and decision 0005. Not reviewed, not deployed, not uploaded, not device-tested. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# 0005: Words on the glasses while recording
|
||||
|
||||
Status: implemented with fakes only; **not device-tested**. Date: 2026-11-28.
|
||||
|
||||
Dan (2026-11-28): "have the live transcription going when in agent mode so that I can see what
|
||||
I'm sending to the agent. I realize I'll need to subscribe to a new, paid for service to enable
|
||||
this."
|
||||
|
||||
## What it does (0.4.0)
|
||||
|
||||
While a recording is being made (by tap, by hold, or after a name in hands free) the screen shows
|
||||
the words so far under "... is listening…", newest words kept in view. After the recording is
|
||||
sent, the last preview stays under "Transcribing…" and is then replaced by "Heard: ..." with the
|
||||
transcript the bridge actually gave the agent.
|
||||
|
||||
## How, and why no paid service yet
|
||||
|
||||
No new service. About every half second of new audio, and never more than one request at a time,
|
||||
the app sends **the recording so far** to `POST /v1/transcribe`, and the Whisper already in the
|
||||
bridge transcribes it. On the server's own figures (1.1 to 1.7 s per clip) the words should trail
|
||||
the voice by roughly one to two seconds and arrive in phrases, not word by word.
|
||||
|
||||
A preview is only ever drawn. The question is transcribed again, whole, by its own turn, so a
|
||||
preview can never be what the agent receives, and nothing about request ids, deduplication or
|
||||
cancellation changes.
|
||||
|
||||
## What a paid streaming recogniser would change
|
||||
|
||||
Word-by-word text a few hundred milliseconds behind the voice, and less CPU on the server. It
|
||||
would mean audio leaving the bridge host for a third party, a streaming connection through the
|
||||
Even WebView (documented as allowed, untested), and a recurring cost. Not chosen or designed
|
||||
here: try this first.
|
||||
|
||||
## Costs of this version
|
||||
|
||||
- While recording, the server transcribes continuously: one core busy for the length of the
|
||||
recording.
|
||||
- When the recording is sent, a preview still running is finished first, so the real
|
||||
transcription can start up to one clip (about 1.5 s) later than before.
|
||||
- A preview is a guess at an unfinished sentence and can differ from the final transcript. The
|
||||
"Heard:" line is the one that is true.
|
||||
- "Heard:" is cut at 160 characters on the glasses; the phone page has the whole text.
|
||||
|
||||
## Owner decisions pending
|
||||
|
||||
Whether the delay is acceptable; whether the preview should also be shown in hands free (it is);
|
||||
whether the "Heard:" line during thinking is wanted in Agents (new there in 0.4.0).
|
||||
Reference in New Issue
Block a user