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:
@@ -0,0 +1,44 @@
|
||||
# 0.4.1 on the server and the phone: the sound check, 2026-11-29
|
||||
|
||||
**Whose evidence this is.** Server facts are the implementer's (Claude's) own commands and the
|
||||
bridge's replies. What happened on the phone is Dan's report, quoted. Nothing on the device was
|
||||
seen or heard by the implementer.
|
||||
|
||||
## Deployment and upload
|
||||
|
||||
Cody, Round 23: SHIP / SHIP FOR TRIAL on `d65beeab77288049b801e4969ac9b68821833b23`. Told what a
|
||||
"go" would do (deploy the bridge, then build, upload and promote 0.4.1), Dan: "go".
|
||||
|
||||
| Step | Result |
|
||||
|---|---|
|
||||
| `git archive d65beea` to `/root/hermeven-src`, `deploy/install.sh --bridge-url https://hermeven.xylo.gg` | All seven steps. `DEPLOYED_SHA` is `d65beeab77288049b801e4969ac9b68821833b23` (was `e4c102a`). |
|
||||
| `systemctl restart hermeven-bridge`, 19:50 UTC | active; `stt.ready` in 2.4 s; healthz ok at `https://hermeven.xylo.gg`. No turn had been accepted in the 90 s before. Hermes was not restarted. `/etc/hermeven/bridge.env` was not changed. |
|
||||
| Smoke test with a temporary device (`smoke-0.4.1`, revoked afterwards; 401 after revocation) | The repository's 11 s archive speech clip to `/v1/wake` (200, 1.79 s) and `/v1/transcribe` (200, 2.74 s). The log gained one `wake.checked` (`audio_ms` 11001, `check_ms` 1522, `matched` false, `near_miss` false) and one `preview.done` (`audio_ms` 11001, `preview_ms` 2543, `empty` false). No word of the transcript in the log. |
|
||||
| Package | `hermeven.ehpk`, 106,593 bytes, SHA-256 `8e231e8c215cdd76f956204dd6abb39ca6094f8b33d061866b901d8a3ec1c33a`, built twice from `d65beea` with a clean tree: the hash Cody recorded. |
|
||||
| Even account | `evenhub upload` 0.4.1, `evenhub promote 0.4.1 --to beta`. `evenhub ls`: 0.4.1 Private, beta; 0.4.0 no longer on a channel. |
|
||||
|
||||
## What Dan reported
|
||||
|
||||
Asked to press the four buttons with the earbuds in and connected, to lock the phone after the
|
||||
second, and to say what the lines read. His whole reply:
|
||||
|
||||
> "1. yes, in buds, 2. yes, in 20s, 3. nothing happened with this button, 4. without touching
|
||||
> phone: allowed, outpush this page can see 1. without names, test sound at 11:51, dleayed sound
|
||||
> 11:52, phone voice: not available in this page"
|
||||
|
||||
| Establishes | |
|
||||
|---|---|
|
||||
| A page in the Even app can play Web Audio, and it was heard in the earbuds | Yes (item 1). |
|
||||
| Without a touch | The page reported "allowed": the sound engine was running when the page opened. |
|
||||
| 20 s after a press | Played (item 2). **Whether the phone was locked at the time was not said.** |
|
||||
| `speechSynthesis` | Not available in that WebView. |
|
||||
| Output devices visible to the page | One, unnamed. The page cannot tell earbuds from the loudspeaker. |
|
||||
|
||||
Not established: the phone model, Android version, Even app version, the earbud model beyond
|
||||
Dan's earlier "galaxy pro ear buds", whether the earbuds were worn, what was selected in Android,
|
||||
behaviour with the phone locked or the Even app in the background, behaviour with no earbuds,
|
||||
with the car, or with other audio playing, and whether a decoded MP3 plays as the tone did.
|
||||
|
||||
The single recording in Agents that was also asked for (to see whether the glasses request live
|
||||
words) had not been made when the log was read at 19:54 UTC: no request from the glasses had
|
||||
arrived since the restart.
|
||||
Reference in New Issue
Block a user