tts speaks MP3: a seventh of WAV's bytes over a slow link to the server

A sentence's length for `append` comes from the Xing header LAME writes into
the first frame. The cache key carries the format, so no WAV is reused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ljdk7nDaguh9Uhi3zhcSjn
This commit is contained in:
Melvin Strobl
2026-10-19 21:55:17 +02:00
co-authored by Claude Opus 5.5
parent 200509c1bd
commit a12bc5a2ee
4 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ such as one that sends whole clips.
| Output | Type | Notes |
|---|---|---|
| `speech` | `audio` | one WAV reference per sentence |
| `speech` | `audio` | one MP3 reference per sentence |
| Setting | Default | Notes |
|---|---|---|