commit a19cd5ba10a8649b7146954a8745e8cb19b4c553
parent 3c6cde68c815c116269799dc472a332c3918d64c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 11 Oct 2026 00:25:58 -0400
plans: release 25 — T1b Orpheus as a second engine (used properly), T5 writing for the ear
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/plans/release-25.md b/plans/release-25.md
@@ -35,9 +35,11 @@ thousand twenty-four" (a text pre-pass fixes it); it speaks briskly (speed is a
| **T1** | Engine + job + ops: **`archilyzer tts setup`** (creates a venv at `settings.tts.home` — default `~/.local/share/archilyzer/tts/kokoro` — installs `kokoro-onnx==0.6.1`, and downloads `kokoro-v1.0.onnx` + `voices-v1.0.bin` once from the kokoro-onnx project's `model-files-v1.0` release, verified by size/sha, polite: one stream, no retries in a loop; `--check` reports what is missing), a Python helper `scripts/tts_kokoro.py` (text file in, WAV out; lang from the voice prefix: `b*` → en-gb, else en-us), a **text pre-pass** in common (years 1900–2099 read as spoken — "twenty twenty-four", "nineteen ninety-nine", "two thousand five"; keep numbers otherwise to the engine; unit-tested), `common/lib/ttsApps.ts` (registry: id, label, license, `build({textFile, outWav, voice, speed}) → argv/env`, `voices()`), `scripts/tts.mjs` (dual-use wrapper: text in, WAV out; engine kinds: `kokoro` (default) and `espeak-ng` (the zero-install fallback the tests use)), `settings.tts` (`engine` = kokoro, `voice` = af_heart, `speed` = 1.0, `home` (the venv + models), `dir` (the cache); SETTINGS.md), `paths`/envVars rows (ENVIRONMENT.md), `common/controller/ttsFile.ts` (`enqueueTtsFile`: body `{text | file, voice?, engine?, speed?, out?}`, the corpus fence from transcribeFile, cache hit = a `done` job with `cached: true` and no engine run, result marker `@@tts-result ` `{wav, seconds, engine, voice, cached, durationMs, waitedMs}`), job kind `tts-file` on queue `tts` (not ingest), `editor/app/api/ops/tts/route.ts` + test, `pnpm ops tts` + usage + marker (COMMANDS.md), doctor check (engine + voice present) | common, scripts, editor | unit: registry, body refusals, fence, cache hit/miss, marker; route test; ops test; one real synthesis through the job with espeak-ng; `docs env|files|cli --check`, `settings example --check` |
| **T2** | Report-video narration: manifest `narration` on `card` entries (`{text, voice?}`; text explicit — never derived from the card: opt-in, the operator's "show, don't tell" stays the default), `render.narration` (`engine?`, `voice?`, `lufs` default −17.7 to sit with the clips (README "teaser level"), `lead`/`tail` ≥ the crossfade `D`), `validateNarration` in `build-video.mjs` AND `lint.mjs` (text non-empty, length cap), `narrate-via-editor.mjs` (one batch of `pnpm ops tts` asks, follows the jobs, NDJSON events; driver step + `busy.mjs` regex), `buildCardSegment` swaps `anullsrc` for the narration WAV (`apad`/`atrim`, leveled, at `render.audioRate`/`audioChannels`), card `seconds`: `"auto"` = narration + lead + tail, a number shorter than that is a lint ERROR; a narration record beside the segment (teaser-style) so rebuilds re-encode only on change; chapters/description export add the disclosure line | umtool/report-to-video, umtool/lib/report | unit: validator, seconds auto, record invalidation, the ffmpeg args; one fixture build with a narrated card through a fake editor (e2e fixture); `onscreen*.spec` untouched or updated |
| **T3** | Podcast: `build-video.mjs <manifest> --audio-only` (or `build-podcast.mjs`) renders the same entry list as sound only — clips' audio, narrated cards, a short silence for an unnarrated card (or skip it: `render.podcast.skipSilentCards`, default true) — loudness-normalized (−16 LUFS, podcast norm), chapters from the same ffmeta, to `out/<variant>/podcast.m4a` (+ `podcast.mp3`), and `show-notes.md` (chapters with timestamps, every cited source's link, the disclosure). umtool's report page offers it beside the video export | umtool | unit on the entry→audio plan and notes; one fixture render; the umtool spec for the export button |
+| **T1b** | **Orpheus 3B as a second engine** (operator, 2026-10-11: "I want Orpheus too, but it needs to be used better"), after T1, by Lane A, from the tuning round `~/reports/tts-bakeoff/orpheus2/` (chunker of 1–3 sentences, the shared normalizer with numbers/ordinals spelled out, the swept sampler settings, best-of-3 takes by a non-ASR check, punctuation-aware joins). llama-server (Vulkan) started per batch and stopped after, so VRAM is free for transcription; the engine declares the GPU, and the `tts` queue yields while a transcription runs; the disclosure adds "Built with Llama" (Llama 3.2 licence). Expressive tags pass through for Orpheus; Kokoro strips them | common, scripts | unit (chunker, normalizer, lifecycle with a fake server); one real Orpheus synthesis through a test editor |
+| **T5** | **Writing for the ear** (operator: "if the text is written with a little storytelling and pre-baked emotion, Orpheus can shine"): a narration-script step. A writing guide (rules from the tuning round's "written for the ear" takes) in `mcp/src/instructions.ts` (where corpus discipline lives) and the report-to-video docs; a umtool surface to review a video's narration script card by card (approve / edit; persisted), before synthesis. **Hard rule:** storytelling and emotion live in the delivery, never in the claims — every factual statement stays exactly as the cited evidence supports | mcp, umtool | unit; a umtool spec for the review page |
| **T4** (later) | Publishing a podcast: `reports attach-audio` + an RSS enclosure on the report feed; docker image TTS stage + `fetch_tts_voice()` | common/publish, export, docker | — deferred, not this release |
-**Order / lanes:** T1 ∥ T2 (T2 codes against T1's contract above and a fake editor in its tests), then T3 after T2.
+**Order / lanes:** T1 ∥ T2 (T2 codes against T1's contract above and a fake editor in its tests), then T1b after T1 and T3 after T2; T5 after the tuning round's writing rules.
Two Opus implementers. Gates as release 23/24 (tsc per commit; the four builds; `pnpm e2e:all`; privacy counts).
## Where it plugs in (from the map)
@@ -52,5 +54,5 @@ Two Opus implementers. Gates as release 23/24 (tsc per commit; the four builds;
## Not doing
-Voice cloning (ruled out); narration derived automatically from card text; narration under clips (the join graph —
+Voice cloning (ruled out); Orpheus as the default (Kokoro af_heart stays the default); narration derived automatically from card text; narration under clips (the join graph —
bigger, later if wanted); a cloud TTS.