Document MP3 activation, speech tests and pending native WebUI TTS
This commit is contained in:
1 parent
c499c37567
commit
16915a04f0
4 files changed
+101
-3
No files matched your search
@@ -22,8 +22,10 @@ Der anschließende [Dual-Slot-Optionsvergleich](experiments/strata-dual-0.1.45-2
|
||||
zeigte im kontrollierten Kurztest keinen erkennbaren Gewinn durch die sechs
|
||||
neuen Mehrbenutzer-Schalter; sie bleiben produktiv aus. SSD-Druck beim langen
|
||||
Einlesen besteht fort. Das vorherige IQ3-Single-Profil wurde regulär wieder geladen.
|
||||
Das separat vorbereitete MP3-Update ist weiterhin nicht aktiviert und muss vor
|
||||
einer späteren Aktivierung auf die neue Strata-App-Version aufgesetzt werden.
|
||||
Das MP3-Update wurde anschließend auf diese Strata-Version aufgesetzt und mit
|
||||
expliziter Neustartfreigabe aktiviert. [Sprachtests und offene WebUI-Anbindung](experiments/hermes-voice-2026-10-17/README.md).
|
||||
Browser-Diktat und Browser-Vorlesen sind bestätigt; Athena-TTS am Vorleseknopf
|
||||
ist wegen der privaten URL noch nicht eingerichtet.
|
||||
|
||||
Am 11. Oktober 2026: Strata-Q4 nach Vergleich verworfen, keine produktive
|
||||
Q4-Profilfreigabe. Isolierte Q4-Testdateien und Gewichte entfernt; historische
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# Hermes speech integration — 17 October 2026
|
||||
|
||||
User requested complete TTS, STT and Live Talk where supported. This report
|
||||
separates agent tools from browser controls. Native Athena TTS on the browser's
|
||||
Listen button is still pending a routing/integration decision; do not mark the
|
||||
whole voice setup complete based on browser speech synthesis.
|
||||
|
||||
## Verified components
|
||||
|
||||
- Existing native Hermes STT: OpenAI-compatible Athena endpoint, model
|
||||
`parakeet-redux-cpu`, German. A synthetic WAV was transcribed exactly as
|
||||
"Dies ist ein kurzer Test der Spracherkennung." in 1.81 seconds.
|
||||
- Existing native Hermes TTS: `omnivoice-studio`, voice `default`. The same
|
||||
synthetic German sentence produced a valid 2.39-second WAV; integration
|
||||
wall time 30.04 seconds (includes startup/integration costs, not a real-time
|
||||
synthesis benchmark).
|
||||
- MP3 endpoint support was rebased onto the current Strata 0.1.45 Deck image.
|
||||
The user explicitly approved a short idle-only Deck restart after automatic
|
||||
review initially rejected it under the earlier no-restart instruction.
|
||||
- Active image: `athena-deck-standalone:strata-0.1.45-mp3-20261017`.
|
||||
Activation evidence confirms selected settings and the Strata recipe unchanged.
|
||||
No LLM was loaded immediately before activation; a later own browser chat
|
||||
loaded IQ3 and completed successfully.
|
||||
- Seven focused TTS/MP3/PCM tests passed in the isolated new image. One added
|
||||
STT test initially lacked its helper test module; after supplying that
|
||||
synthetic fixture the previously blocked STT test passed separately.
|
||||
- A real native Hermes TTS call produced a 3.576-second MP3. FFprobe identifies
|
||||
MP3, and FFmpeg decodes the entire file successfully on the operator Mac.
|
||||
The Hermes image lacks ffprobe; the initial format-probe script failed only
|
||||
at that validation subprocess, after audio generation. No package was
|
||||
installed into the live image to conceal this limitation.
|
||||
|
||||
## Persisted WebUI settings and microphone acceptance
|
||||
|
||||
`raw_audio_mode=false`, `tts_enabled=true`, `tts_engine=browser`,
|
||||
`tts_voice=Anna`, `voice_mode_button=true`, `language=de`.
|
||||
Regular auto-read remains off; hands-free mode has its own response playback.
|
||||
|
||||
The regular UI save initially showed raw audio off but a later server read had
|
||||
it on. The cause of the reversal was not established. The desired speech
|
||||
fields were explicitly saved using upstream `api.config.save_settings` and
|
||||
read back later; no source patch, direct browser-storage edit or restart.
|
||||
The operator first reported no transcript, then confirmed "nun geht es";
|
||||
the test tab also displayed the German dictated sentence as editable text.
|
||||
The operator confirmed speech playback, explicitly identifying it as browser
|
||||
voice rather than Athena TTS. Do not conflate these acceptance results.
|
||||
|
||||
## Remaining upstream boundaries
|
||||
|
||||
Installed and current upstream `api/routes.py` reject private/non-global
|
||||
OpenAI TTS targets; HTTP is accepted only for literal localhost and HTTPS
|
||||
must resolve to globally routable addresses. The WebUI's own HTTPS origin
|
||||
therefore does not solve a private provider URL. The existing Athena and OI
|
||||
hostnames resolve privately inside this container; no public audio route was
|
||||
created. No SSRF bypass, fake DNS/loopback mapping, relay or new extension
|
||||
was installed.
|
||||
|
||||
The built-in hands-free mode uses browser SpeechRecognition, pause detection,
|
||||
send and reply playback. It does not use Parakeet for that mode and is not
|
||||
an end-to-end realtime audio model. Normal dictation supports the server STT
|
||||
path. Browser microphone access requires HTTPS and user permission.
|
||||
|
||||
Current upstream gallery has no ready TTS extension for this LAN integration.
|
||||
A supported custom TTS extension API exists but writing/integrating a new one
|
||||
would be our own adaptation. User has been asked to choose between a real
|
||||
public authenticated HTTPS audio endpoint and evaluating a targeted local
|
||||
WebUI change. No such change has been made yet.
|
||||
|
||||
## Persistence and restore
|
||||
|
||||
Hermes config/state stay in its own home bind mount; generated test media stay
|
||||
in its own cache and are not committed. Restore requires the existing encrypted
|
||||
Hermes home/provider credentials and Webtop data. The MP3 change is ordinary
|
||||
Deck Python code plus distro FFmpeg/libmp3lame, already present in the active
|
||||
image. Native Debian requirements and the previous focused test report remain
|
||||
in `../tts-mp3-2026-10-17.md`. No fresh-host full restore was tested.
|
||||
|
||||
Sources:
|
||||
- https://github.com/nesquena/hermes-webui/blob/master/api/routes.py
|
||||
- https://github.com/nesquena/hermes-webui/blob/master/static/boot.js
|
||||
- https://github.com/nesquena/hermes-webui/blob/master/docs/EXTENSIONS.md
|
||||
- https://github.com/hermes-webui/hermes-webui-extensions/blob/main/extensions/README.md
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"active_image": "athena-deck-standalone:strata-0.1.45-mp3-20261017",
|
||||
"settings_unchanged": true,
|
||||
"strata_recipe_unchanged": true,
|
||||
"deck_ready": true,
|
||||
"previous_model": null
|
||||
}
|
||||
@@ -1,4 +1,11 @@
|
||||
# Athena speech MP3 — prepared, not activated
|
||||
# Athena speech MP3 — activation update, 17 October 2026
|
||||
|
||||
The originally deferred implementation below was subsequently rebased onto
|
||||
Strata 0.1.45 and activated with the user's explicit restart approval.
|
||||
[Activation, tests and remaining Hermes browser-TTS limitation](hermes-voice-2026-10-17/README.md).
|
||||
The prepared older image below must not be deployed over the new active image.
|
||||
|
||||
## Historical preparation — not activated at that stage
|
||||
|
||||
The user requested MP3 output for Hermes Live Talk, then explicitly asked not to
|
||||
restart the Athena endpoint yet. No production restart or activation was made.
|
||||
|
||||
Reference in new issue
Block a user