Files
Athena-Deck/docs/maintenance/2026-10-21-tts-technical.md

3.5 KiB

Technical speech clarification · 21 October 2026

Shared German speech preparation adds explicit letter names for CEST, CET, UTC, MESZ, MEZ, MP3/mp3 and PCM. API/MCP is spoken as two letter sequences. Known literal log fields (transcoding, format, tracksImported, tracksMissing, RestartCount) receive spoken labels and explicit values: false remains falsch, true remains wahr, raw becomes unverändert. This never infers service health. Numeric seconds are expanded; paired bit rates repeat the unit on both numbers (128/256 kbps → 128 Kilobit pro Sekunde oder 256 Kilobit pro Sekunde).

The optional shared endpoint enhancer applies technical normalization again after removing inline backticks, so inline log fields are included. URL, path, filename and entity-ID protections remain; no arbitrary code interpreter or LLM is added. Rules remain idempotent and German-only. No displayed message or Mac app changes. No attempt is made to phoneticize every product name or guarantee TTS fidelity.

Verification: 37 tests pass with python3 -m unittest test_speech_text test_tts_text_enhancer test_speech_mp3 test_speech_reference. The user's entire Navidrome report was prepared offline; private input/audio stay outside version control. Live synthesis/STT validation is recorded after activation.

Operation: speech_text.py and tts_text_enhancer.py already belong to the installer allowlist. On this deployment, update the canonical source then use the existing installer update with reuse-runtime. Check endpoint active/queued requests before stopping; do not interrupt active work. Existing profiles, weights, voice and endpoint settings are retained. Normal rollback uses the previous image. Native Debian uses the same application modules, without additional packages, with an application restart in an idle maintenance window. Restore requires this revision plus the existing private state/voice restore package. Fresh-Debian full restore qualification remains an existing open platform task.

Activation and live verification

Activated athena-deck-standalone:88f63588e7e1b536; Deck healthy, CPU Qwen and Parakeet workers observed running. No active requests at the guarded stop. Hermes already uses provider openai and model qwen-06b-q8-anna-cpu; neither changed. The generic tts alias returned 409 because OmniVoice Studio is also published; the real test therefore explicitly used Hermes' existing Qwen model ID.

19.04 seconds of WAV audio were generated in 14.13 seconds. Existing local STT returned the complete short test, including 1,87 Sekunden, Transkodierung gleich falsch, Format gleich unverändert, and both 128/256 Kilobit pro Sekunde values. STT renders the spelled timezone as CEST; this alone cannot certify phonetics. Private audio and transcripts remain in local work/tts-technical-20261021, not Git. Human playback acceptance remains pending; no claim about eliminating client-side clicks or stutters is made.

The existing builder tried compacting its 109-layer, ~29 GB base before building. That temporary image import was stopped without affecting the running container. For this deployment only, compaction was bypassed after checking layer reserve; the same app-update Dockerfile and guarded installer update were then used. No persisted installer change or runtime rebuild was introduced. Ordinary future updates may still reach the installer's compaction threshold. Strata was not sent a generation request for this test and was not observed loaded after the restart; normal endpoint on-demand loading remains responsible for the next LLM request.