Answers read aloud: Voice on the menu, ElevenLabs voices per agent via the bridge (0.5.0)
- bridge: GET /v1/speech (which agents have a voice) and GET /v1/turns/{id}/speech (MP3 of the
caller's own finished answer, markup removed, first 900 characters). ElevenLabs adapter; key
and voice ids from the environment; per-device budget; last three clips kept in memory.
speech.done / speech.failed log ids, lengths and durations only.
- bridge: forceCloseConnections. A request the client had abandoned kept shutdown waiting for
ever (also true of /v1/transcribe as deployed). Regression test for both routes.
- client: 'Voice: off/on' on the opening menu when the bridge offers it and the page can play
sound; off at every launch. With it on, a finished answer is fetched and played; it stops
when the answer leaves the screen; the app does not leave the glasses while it plays.
- tests: fake provider, fake loudspeaker (tests/integration/voice.test.ts).
- docs: 0006, security 3g-3i, device plan E, 0.4.1 rollout and Dan's sound check report.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -94,6 +94,26 @@ If A13 fails, stop and report it. It is a product-level blocker, not a bug to wo
|
||||
| D9 | In Agents, tap and speak a long sentence slowly. | Do words appear while speaking? How far behind? Do they jump or flicker? | Live preview on a real G2 and the real server. |
|
||||
| D10 | After sending, watch the screen. | Does "Heard: ..." show what you said? Seconds from tap to "thinking" compared with 0.3.0. | Whether a running preview delays the real transcription noticeably. |
|
||||
|
||||
## E. Spoken answers (0.5.0; nothing here has been run)
|
||||
|
||||
Needs an ElevenLabs key and a voice per agent in `/etc/hermeven/bridge.env`. Record the phone,
|
||||
Android version, Even app version, earbud model, and for every row which outputs were
|
||||
**connected**, which was **selected** in Android, and whether anything was **worn**: the app
|
||||
cannot tell these apart and neither can this plan unless they are written down.
|
||||
|
||||
| # | Do | Record | Answers |
|
||||
|---|---|---|---|
|
||||
| E0 | Open the app with the bridge configured. | Does the menu show a third entry, "Voice: off"? Does a tap change it to "Voice: on" and stay on the menu? | The menu entry on a real G2. |
|
||||
| E1 | Voice on, earbuds in and selected. Agents, ask a short question. | Is the answer heard, in the earbuds, in the right voice? Seconds from the answer appearing to the voice starting. | MP3 playback in the Even app; routing; latency. |
|
||||
| E2 | Ask each agent. | Right voice for each? An agent without a voice stays silent? | Per-agent voices. |
|
||||
| E3 | While it is speaking: swipe; then double tap; then (next answer) tap. | Does a swipe leave it speaking, and the others stop it at once? | Stopping. |
|
||||
| E4 | Ask for something long. | Does the voice stop at a sentence after roughly a minute while the text continues on the glasses? | The cap. |
|
||||
| E5 | Voice on, hands free, phone locked in a pocket. "Wendy, ...". | Is it spoken? Does a second "Wendy, ..." during the speech work, and does the speech stop? | Unattended playback; the microphone while speaking. |
|
||||
| E6 | Voice on, earbuds out. Ask. | Where is it heard? | 3h above: the loudspeaker case. |
|
||||
| E7 | Earbuds in, a call or music playing. Ask. | What happens to the music? Is the answer audible? | Audio focus (not handled by the app). |
|
||||
| E8 | Close and reopen the app. | Is Voice off again? | Not remembered. |
|
||||
| E9 | In Agents with Voice on, ask and do nothing. | Does the app stay on the glasses until the voice ends, then leave after the usual wait? | Idle exit while speaking. |
|
||||
|
||||
## Reporting
|
||||
|
||||
Anything that fails in A13, A14, A15 or C1 is a blocker or a stated limitation of the product, to
|
||||
|
||||
Reference in New Issue
Block a user