Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 5c9a28b64d372f51d2609c610fc2e6c2c5df5cb3
parent 8f7f9ef8a33a6f25eb27023e4d8905bf1844827f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri, 13 Nov 2026 01:24:08 -0500

umtool docs: a screen from a picture-only post's read; a line in your own voice; the line's chosen take

report-video.md ("Screens": --from-read, "A line in your own voice", the second pin), knobs.md (the
screens table: From its read, Record per line, the reads select, Make the read), cli.md and the
CLI registry (posts screen add --from-read, record, set take.<n>=) regenerated.

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mumtool/docs/cli.md | 4++--
Mumtool/docs/knobs.md | 5++++-
Mumtool/docs/report-video.md | 43+++++++++++++++++++++++++++++++++++++++++--
Mumtool/lib/cli/groups.mjs | 7++++---
Mumtool/lib/cli/verbs.mjs | 6+++++-
5 files changed, 56 insertions(+), 9 deletions(-)

diff --git a/umtool/docs/cli.md b/umtool/docs/cli.md @@ -132,7 +132,7 @@ Inbox cannot disagree about what is wrong with one. | `posts reread <project> <item> --pause "<word>[#<n>]=<seconds>\|@<take s>=<seconds>[,…]" [--target post\|parent:0\|quoted\|linked:0] [--dry-run] [--json]` | **pauses put in after words** of a narrated read, no TTS (`lib/report/postPause.mjs`; operator, 5 Nov: a countdown "20 10 4 0" read without a breath): the picked take cut just after each word named (half way into the quiet before the next word, at most 0.1 s past its end) and that much silence (0.05–3 s) put in -- each cut moved to the quietest 10 ms its word allows (40 ms before its timed end up to the next word, ±40 ms when they run together) when that is clearly quieter (~3 dB) than the timing's own, and each side of the silence faded over 10 ms, so a pause in normally paced speech does not click -- everything after moved on -- its words (by index), its parts (one a pause falls in grows), its length -- so word zooms, captions, slams, beeps and the read-follow stay on their words; an effect with a set `at` does not move (the plan counts them). A word is matched as a word zoom's is (case and edge punctuation aside; a phrase pauses after its last word; `#n` its n-th time in the read; `--target` counts only the words of the parts reading that piece). A derived take (`steps: [{op: "pause", pauses: [{word, w, at, seconds}]}]`) picked in ONE write. **Absolute**, like a tempo: on a take whose last step is a pause it re-cuts from the take before (the pauses it had kept, a word named again takes the new seconds, `=0` takes one away). `--in-take <t>` puts it in a take's read. No word timings (**exit 1**, naming `posts narrate <p> <item> --words`), a word not read, an occurrence not there, nothing to change: **exit 1**; a malformed spec, seconds outside 0.05–3, `--pause` with another reread form: **exit 2** | | `posts reread <project> <item> --revoice "<phrase>[#<n>]" --say "<what to say instead>" [--target <piece>] [--voice <v>\|auto] [--xfade 0.03] [--splice <from>-<to>] [--dry-run] [--json]` | **one phrase of an approved read re-voiced**, the rest untouched (`lib/report/postRevoice.mjs`; operator, 5 Nov: the countdown gabbled, and pauses cut into it "choppy"): the phrase found in the picked take's word timings as `--pause` finds a word (`#n`, `--target`; inside one part), the original cut from just before its first word to just after its last -- each cut at the quietest 10 ms within ±40 ms of the boundary, and when that is still speech within ±0.15 s (never inside the phrase as timed; a nearer quiet preferred) -- **`--say` alone synthesized by the editor's TTS** (narrate-via-editor; the engine of the root take, the voice of the part the phrase is in, `--voice` overrides; the project's lexicon, redaction and slur filter applied; kept in `narration/parts-cache/` like a thread read's parts, so asking again is free), its lead and tail of silence trimmed, loudness-matched to the speech in the 2 s either side (±6 dB) and spliced in with equal-power crossfades (`--xfade`, 0–0.2 s) at both joins, at the take's rate and layout. The length is exact: the take − the span cut + the piece. Everything after moves by the difference (its words, the part holding the span, the later parts) so zooms, captions, slams, beeps and the read-follow stay on their words; the new words are timed from the piece's speech and marked `estimated` (a later `posts narrate … --words` refines them); the part's text and the script say `--say`. A derived take (`steps: [{op: "revoice", revoice: {word, count, words, phrase, say, said, voice, engine, from, to, seconds, gain, xfade, key}}]`) picked in ONE write; re-voicing exactly the words a re-voice put in re-cuts from the take before. `--dry-run`: the span (words, seconds), each cut and its level, what is said and in which voice, the length change when the piece is cached -- no TTS. A cut still in speech is warned of (the word timings off there): `--splice 65.03-66.00` sets the cuts (either side may be left out). `--in-take <t>` puts it in a take's read. No word timings (naming `posts narrate <p> <item> --words`), the phrase not read or across two parts, a recorded read, the TTS failing: **exit 1**; no `--say`, a bad voice, crossfade or splice, `--revoice` with another reread form: **exit 2** | | `posts progress <project> [auto\|on\|off\|default] [--json]` | the cut's **progress bar** default (`render.posts.progress`, `updatePostProgressRender`; [report-video.md](report-video.md#the-progress-bar)); bare, which items draw it | -| `posts screen <project> <item> list\|add\|set\|rm\|check\|read …` (add: `--media <i> [--at <from>,<to>] --kind dm\|email\|post\|text [--id <id>] [--title "…"] [--from <file>] [--line "who: words"]… [--read all\|none\|<n>,…] [--unread omit\|dim] [--ref <channel>/<postId>]`; set: `<id> kind= title= media= at=<a>,<b>\|off unread= ref= read=all\|none\|<n>,… read.<n>="excerpt"\|on\|off line.add="who: words" line.<n>=off line.<n>.who= line.<n>.side=left\|right\|auto line.<n>.text= line.<n>.time= line.<n>.redact=on\|off [--from <file>]`; check: `<id> [--by <name>] [--undo]`; read: `[--post-take <n>] [--line-take screen:<id>:<line>=<n>]… [--voice-for h=v]… [--force] [--dry-run]`; `--json`, `--dry-run`, `--take <take>`) | a post's **SCREENS** ([report-video.md](report-video.md#screens-text-screenshots-read-as-part-of-the-post), [knobs.md](knobs.md#screens-a-posts-text-screenshots), `post-screens.mjs`): the text screenshots its attachments carry -- a DM exchange or an email shown in its video (`--at`: the seconds it is visible), an image that is a screenshot -- transcribed once (`--from`: a JSON screen, or text lines `[right] who: words \| time`, `- words`, `[redact] …`), checked by a person (`check`; a screen not checked is a lint WARNING; new words take the check away), and read whole or in excerpts. Each write is the post item's one writer (`updatePostItem`'s `screens`, one undo point), refused in the build's words (**exit 1**); an attachment a screen is in cannot be removed. An e-mail address, a phone number, an order or long number in a line is masked on the card and never said. `read` makes the THREAD READ with the screens (as `posts narrate <p> <item> --take --thread`): her own line from the take that plays (or the one the thread read used; `--post-take n` another), never made again; each read line in its speaker's voice (`who`: the post's author in hers, a handle or a character's name in theirs); `--line-take` takes a line from the item's take n (a recording of it). Usage errors: **exit 2** | +| `posts screen <project> <item> list\|add\|set\|rm\|check\|read\|record …` (add: `--media <i> [--at <from>,<to>] --kind dm\|email\|post\|text [--id <id>] [--title "…"] [--from <file>] [--line "who: words"]… [--read all\|none\|<n>,…] [--unread omit\|dim] [--ref <channel>/<postId>]` or `--from-read [--media <i>] [--kind …]`; record: `<id> <line> --recording <file> [--as <character>] [--no-clean\|--clean] [--no-trim\|--trim] [--no-convert] [--pitch target\|source\|contour] [--semitones n] [--label l] [--check-words [--worker w]] [--events]`; set: `<id> kind= title= media= at=<a>,<b>\|off unread= ref= read=all\|none\|<n>,… read.<n>="excerpt"\|on\|off line.add="who: words" line.<n>=off line.<n>.who= line.<n>.side=left\|right\|auto line.<n>.text= line.<n>.time= line.<n>.redact=on\|off take.<n>=<take n>\|off [--from <file>]`; check: `<id> [--by <name>] [--undo]`; read: `[--post-take <n>] [--line-take screen:<id>:<line>=<n>]… [--voice-for h=v]… [--force] [--dry-run]`; `--json`, `--dry-run`, `--take <take>`) | a post's **SCREENS** ([report-video.md](report-video.md#screens-text-screenshots-read-as-part-of-the-post), [knobs.md](knobs.md#screens-a-posts-text-screenshots), `post-screens.mjs`): the text screenshots its attachments carry -- a DM exchange or an email shown in its video (`--at`: the seconds it is visible), an image that is a screenshot -- transcribed once (`--from`: a JSON screen, or text lines `[right] who: words \| time`, `- words`, `[redact] …`), checked by a person (`check`; a screen not checked is a lint WARNING; new words take the check away), and read whole or in excerpts. Each write is the post item's one writer (`updatePostItem`'s `screens`, one undo point), refused in the build's words (**exit 1**); an attachment a screen is in cannot be removed. An e-mail address, a phone number, an order or long number in a line is masked on the card and never said. `read` makes the THREAD READ with the screens (as `posts narrate <p> <item> --take --thread`): her own line from the take that plays (or the one the thread read used; `--post-take n` another), never made again; each read line in its speaker's voice (`who`: the post's author in hers, a handle or a character's name in theirs); `--line-take` takes a line from the item's take n (a recording of it), and a line's CHOSEN take (`take.<n>=`, the bench's select) is read in its place -- a recording nobody chose is named, never read in. `add --from-read`: a PICTURE-ONLY post's read (its `narration.script`) made its screen, a line per line, on its picture, read whole, NOT checked -- no speaker parsed out of it. `record`: ONE LINE in your voice ([report-video.md](report-video.md#a-line-in-your-own-voice), `lib/report/screenLineRecord.mjs`) -- the line as the read says it (its shapes and the redaction left out, an anonymous handle as its shown name), kept as new takes through `posts narrate --recording`'s chain: recorded, cleaned, converted to its SPEAKER's character's stock voice (none: kept as recorded, said), NONE picked, each carrying `screenLine`; refused on an item with no read of its own (**exit 1**). A line take is refused picked as the item's read, as `--post-take`, for another line, or once its line's words or speaker changed. `--check-words` (the editor's transcribe op; opt-in, CLI only): refused when it is heard saying a shape, an @handle, an anonymous handle or a redacted term -- nothing kept -- and a warning on other words. Usage errors: **exit 2** | | `posts roles <project> [<item> …] [--write] [--set <n>=<role>,…] [--json]` | a narrated read **piece by piece** ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said), [report-video.md](report-video.md#thread-reads)): the text each part of the picked take reads -- `parent:<i>`, `quoted`, `post`, `media:<i>` -- stored or inferred, what the card shows for each, and the build's guard (a part read off a post the card hides is refused). `--write` stores the inferred roles on the picked takes' parts (one write; the import stores them for every new take); `<item> --set n=role,…` sets parts' roles by hand (`off`: inferred again); a part out of range or an unknown role is refused (**exit 1**) | | `posts narrate <project> --import [--dry-run] [--json]` · `--list` · `<item> [--script "…"] [--pick <n>] [--approve\|--unapprove] [--off\|--on] [lead= tail= ramp= linger= clip=read\|full wet= lowpass= duck=on\|off short=hold\|loop attach=under\|after lufs= pace=fast\|normal]` · `<item> --take [--note "…"] [--voice v] [--engine e] [--speed s] [--script "…"]` · `<item> --derive <n> --op enhance\|convert [--engine e] [--voice v]` · `<item> --delete <n>` · `--all --draft-scripts [--force]` · `--all --take [--limit N]` · `--cut <k=v>…` | a **narrated post item** ([report-video.md](report-video.md#narrated-post-items), [knobs.md](knobs.md#a-narrated-post-item)): `--import` reads `narration/posts/index.json` (`[{id, entry, script, takes: [{file, engine, voice, seconds}], pick}]`, and a take's `take-<n>.parts.json`) into the cut in ONE write, measuring each take (length, loudness); a re-run adds only takes not there. `--take` asks the EDITOR for a new take (`POST /api/ops/tts`, its `out` the next `narration/posts/<postId>/take-<n>.<engine>-<voice>.wav`; a job, waited for; `ARCHILYZER_EDITOR_URL`, `WORKER_TOKEN`) and picks it, its `--note` kept with it; `--pick <n>` is the take's number as `--list` shows it. `--derive <n>` makes a NEW take from take n through the editor's `voice-enhance` / `voice-convert` op (a stock synthetic voice; "not installed" until the editor has the engine), the original kept; `--delete <n>` moves a take's file to the post's `.trash/`. A new script or pick takes the approval away. `--all --draft-scripts` writes every post's words as its script, VERBATIM (cleaned only to be spoken: a reply's leading @handles, links, emoji dropped -- a handle typed inside the message is kept and said "at <handle>", the lexicon first; `plan(s)` → plans, `w/` → with, `&` → and; paragraphs kept). `--cut` sets `render.postNarration` (and its read-follow: `follow=on\|off`, `follow.dim=`, `follow.ease=`; its thread reads: `thread.parent=`, `thread.quoted=`, `thread.carry=`, `thread.reveal=`, `thread.shrink=`, `thread.dim=`, `thread.seconds=`, `thread.pan=`). Refused in the build's words (**exit 1**) A `--take` whose read says a slur the cut BEEPS is word-timed by the editor's transcription before it is kept -- never waited on: with the transcription lane held (as while Orpheus runs) the take is kept as read and the timing deferred (it says so, naming `posts narrate <p> <item> --words` to run after the release; the build refuses the take until then), and a timing still queued after 5 min is deferred the same way. An excerpted item (`posts set-item … excerpt=`) reads its spans. | | `posts narrate <project> <item> --take --thread [--parents 0\|all\|none\|<n>] [--skip-parent <id\|parent:i>]… [--no-quoted] [--no-linked] [--read-seen] [--voice-for <handle>=<voice>]… [--voice v] [--engine e] [--speed s] [--no-screens] [--line-take screen:<id>:<line>=<n>]… [--note "…"] [--force] [--no-hold] [--dry-run] [--json]` | a **THREAD READ** as one command ([knobs.md](knobs.md#pronunciation-and-voices-the-lexicon-the-voice-map-a-thread-read), `lib/report/postThreadRead.mjs`): the post it answers (`--parents all`: every ancestor; `<n>`: parents 0..n; `none`), the post it quotes and the posts it links to, then his words, in DATE order, each in its author's voice (`--voice-for`, then the item's own character, this video's characters and voice map, the cast: `cast project`; his own: the narrator's) and at its character's speed (its synthetic preset's; `--speed`: every part at that one; Orpheus has none; a part at another speed is another cached part), the redaction, the slur filter (a beep is skipped: a joined read is not word-timed) and the lexicon (`posts say`) applied. A parent or quoted post the item before already shows is not read again (`--read-seen`: it is). Each part is synthesized ONCE by the editor's tts op into `narration/parts-cache/<sha1(voice\|text)>.wav` (the transcription lane held meanwhile, only if it was not; `--no-hold`: left alone), joined (0.8 s between pieces, 0.6 between paragraphs, 0.25 inside one) into `take-<n>.<engine>-thread.wav` with `take-<n>.parts.json`, saved with its parts' roles, its lexicon and how it was asked (`read`) and PICKED — one write (one undo point). `--dry-run`: the pieces, voices and parts (cached or not), nothing asked. Already up to date (same words and voices): nothing done, **exit 0** (`--force`: again). **`--post-take <n>`**: his OWN line is the item's take n (as `--list` numbers them) -- a recording, or one converted to his character's voice -- not synthesized; the context pieces are, in their authors' voices, and each part of the new take records where it came from (a synthesized part its parts-cache file and voice; the take's part its file and `take`: that take's id; the read's `postTake`). A thread take, or one whose file is gone: **exit 1**. A part not synthesized: **exit 1** (the parts made stay cached; run it again); `--json` prints `{ok: false, error}` too. A usage error: **exit 2** Its SCREENS (`posts screen`) are read after his words, each line in its speaker's voice (`--no-screens`: left out); `--line-take screen:<id>:<line>=<n>` takes a line from the item's take n as `--post-take` does his own | @@ -366,7 +366,7 @@ draft (the project's manifest); *project*: a project's other files, or reads; *c | `posts reel <project> --channel CHANNEL… [--since SINCE] [--until UNTIL] [--own] [--with-media] [--replies include\|only\|exclude] [--order chrono\|reverse] [--limit N] [--after AFTER] [--dry-run]` | post items from posts channels, in one write | form · *draft* | | `posts set-item <project> <item> key=value… [--in-take IN-TAKE]` | a post item's knobs | form · *draft* | | `posts narrate <project> [<item>] [key=value…] [--script SCRIPT] [--take] [--note NOTE] [--voice VOICE] [--engine ENGINE] [--speed N] [--pick N] [--approve] [--unapprove] [--off] [--on] [--thread] [--parents PARENTS] [--post-take N] [--words] [--import] [--list] [--all] [--draft-scripts] [--limit N] [--force] [--recording RECORDING] [--as AS] [--pitch target\|source\|contour] [--semitones N] [--dry-run] [--in-take IN-TAKE]` | a post item's narration: script, takes, pick, approve, mix | form · queued · *draft* | -| `posts screen <project> <item> list\|add\|set\|rm\|check\|read [<screen>] [key=value…] [--media N] [--at AT] [--kind dm\|email\|post\|text] [--title TITLE] [--line LINE…] [--read READ] [--unread omit\|dim] [--by BY] [--undo] [--post-take N] [--line-take LINE-TAKE…] [--dry-run] [--in-take IN-TAKE]` | a post item's text screenshots: transcribed, drawn, read | form · *draft* | +| `posts screen <project> <item> list\|add\|set\|rm\|check\|read\|record [<screen>] [<line>] [key=value…] [--from-read] [--recording RECORDING] [--as AS] [--no-clean] [--no-convert] [--pitch target\|source\|contour] [--semitones N] [--check-words] [--media N] [--at AT] [--kind dm\|email\|post\|text] [--title TITLE] [--line LINE…] [--read READ] [--unread omit\|dim] [--by BY] [--undo] [--post-take N] [--line-take LINE-TAKE…] [--dry-run] [--in-take IN-TAKE]` | a post item's text screenshots: transcribed, drawn, read | form · *draft* | | `posts say <project> ls\|add\|remove\|try\|stale [<word>] [<spoken>] [--case] [--item ITEM] [--note NOTE]` | the pronunciation lexicon | form · *draft* | | `posts character <project> <item> [<character>] [--clear]` | the character one post item's own read is made with | form · *draft* | | `posts voices <project> ls\|set\|remove [<handle>] [<voice>]` | the voice map a thread read uses | form · *draft* | diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -1852,7 +1852,10 @@ lint says so. Nothing in a screen is drawn that is not read, unless `unread: "di | `unread` -- the lines not read: `"omit"` (default: left out, a "⋯" row where they were) or `"dim"` (drawn dim, never lit) | **lines not read** | `… set s1 unread=dim` | same | | `title` (the header's word in place of the kind's), `ref` (a screenshot of a post: the archived post it pictures) | **title** | `… set s1 title="Refund email"` · `ref=<channel>/<postId>` | same | | `checked: { by, at }` -- the transcription read against the screenshot (a screen not checked is a lint WARNING; new words take it away) | **checked** | `… check s1 [--by <name>]` · `--undo` | same | -| THE READ -- her words, then each read line in its speaker's voice; her own line from the take that plays (never made again); a line from an existing take | the command shown under the screens | `umtool posts screen <p> <item> read [--post-take n] [--line-take screen:s1:3=4]… [--dry-run]` (= `posts narrate <p> <item> --take --thread`, `--no-screens` leaves them out) | — | +| THE READ -- her words, then each read line in its speaker's voice; her own line from the take that plays (never made again); a line from an existing take; a line's CHOSEN take in its place | **Make the read** (a job), the command shown beside it | `umtool posts screen <p> <item> read [--post-take n] [--line-take screen:s1:3=4]… [--dry-run]` (= `posts narrate <p> <item> --take --thread`, `--no-screens` leaves them out) | `POST /api/report/post-narration {project, op: "screen-read", id}` (a job; `GET ?project&id&screenJob=<job>`) | +| a screen from a PICTURE-ONLY post's read -- its `narration.script` a line per line, on its picture, read whole, not checked | **From its read** (a picture-only post with a script) | `umtool posts screen <p> <item> add --from-read [--media i] [--kind text] [--id] [--title]` | same as `screens[]` | +| A LINE IN YOUR VOICE -- the line as the read says it recorded, cleaned, converted to its speaker's character's stock voice, each a new take with `screenLine`, none picked ([report-video.md](report-video.md#a-line-in-your-own-voice)) | each read line's **Record** / **Stop** / play back / **Discard** / **Keep** (a job; off while the draft is unsaved) | `umtool posts screen <p> <item> record s1 2 --recording my-read.wav [--as <character>] [--no-clean] [--no-trim] [--no-convert] [--pitch …] [--semitones n] [--label l]` · `--check-words` (the editor's transcribe op: refused on a number, a handle or a redacted term heard; CLI only) | `POST /api/report/post-narration` multipart `{project, id, line: "screen:s1:2", label?, part}` (a job) | +| `lineTakes` -- `{ "<n>": "<take id>" }`, the take CHOSEN to be read in line n's place (a recording of that line); none: synthesized | each read line's **reads** select (saved with Save) | `… set s1 take.2=5` (`take.2=off`) | `POST /api/report/post-item {op: "set", patch: {screens}}` | What is never drawn nor said, marked or not -- in a line, a speaker, a time or a title: an e-mail address, a phone-style run of nine digits or more or a local number, an order / confirmation / tracking / account / card / code value, a diff --git a/umtool/docs/report-video.md b/umtool/docs/report-video.md @@ -1578,11 +1578,50 @@ build refused up front (`screenDrawErrors`, in the enforced lint; again in the s take does not read ("make the read"); screens on an item not narrated (not drawn: a screen is drawn and read with the item's read); a speaker blurred by the privacy rule; a screenshot of a post naming an archived one. +**A screen from a picture-only post's read** (`posts screen <p> <item> add --from-read`; the bench's **From its +read**; `post-screens.mjs linesOfRead`, `screenFromRead`). A PICTURE-ONLY post whose picture is text already has its +words typed once -- its read's script (`narration.script`). `--from-read` makes them its screen: a line per line of the +script (blank lines and Orpheus emotion tags dropped, a line past 600 characters split at its sentence ends), on its +picture (its first image; a GIF or a video visible its whole length; `--media` another), kind `text` (`--kind`), read +whole, NOT checked (the lint says so until a person reads it against the picture). A "who:" is never parsed out of a +read -- a shape or a heading would become a speaker ("Order number: 4419"); set the speakers after. Refused off a +picture-only post or with no script. As any screen, nothing of it is drawn until the read reads it. + +#### A line in your own voice + +A read line of a screen may be RECORDED by the operator (`lib/report/screenLineRecord.mjs`; `umtool posts screen <p> +<item> record <id> <n> --recording <file>`; the bench's per-line **Record**). What he reads is the line AS THE READ SAYS +IT -- its read run, its shapes left out, the redaction left out, an anonymous handle as its shown name (never the raw +line: a masked number is never on the prompt). It is kept through `posts narrate --recording`'s chain as NEW takes of the +item -- recorded (a new `take-<n>.recorded-<label>.wav`; no recording is ever rewritten), cleaned, converted to the +line's SPEAKER's character's STOCK voice (the author's own lines her character; anyone else the character holding their +handle, this video's first then the cast's; never the narrator; none: kept as recorded, and said) -- each carrying +`screenLine: { screen, n, said, speaker }`, NONE of them picked, the item's script untouched. Its script is the line's +words as the read says them (the lexicon's spellings in), so the read holds it to the line (`lineTakeProblem`). It is +refused on an item with no read of its own (a line is read inside one). + +A line take is read ONLY WHEN CHOSEN -- nothing is said that the operator did not choose: the screen's `lineTakes` +(`{ "<n>": "<take id>" }`: the bench's per-line select, saved with Save; `posts screen … set <id> take.<n>=<take>|off`) +or `--line-take`. `read` without a choice synthesizes the line and NAMES the recordings nobody chose; the lint warns of +them too, of a chosen take recorded for the line as it was, and of a picked read that does not play its chosen take. +REFUSED: a line take picked as the item's read (the writer), used as `--post-take`, chosen for or named as another line, +read after its line's words or speaker changed (record it again), or deleted while chosen (unchoose it first); a line +removed takes its choice with it. Its disclosure in the read: "a recorded reading converted to a stock voice (engine · +voice)", or "a recorded reading". `--check-words` (opt-in, the CLI only; the editor's transcribe op): the recording is +transcribed before anything is kept and REFUSED when it is heard saying a shape, an @handle, an anonymous handle or a +redacted term; other words are a warning (the transcription may mishear). Without it, the recording is what he read. + +On the bench, Record and Make the read are off while the draft differs from what is saved (a line is recorded as it is +saved); Keep and Make the read are each ONE umtool job (`posts screen … record`, `posts screen … read`), followed on the +page; a job's result never replaces edits made meanwhile. + **Byte-identical without.** An item with no `screens` draws, plans and keys exactly as before -(`post-screens-pin.test.mjs`); a segment with screens carries `screens: POST_SCREEN_DRAW_V` in its key. +(`post-screens-pin.test.mjs`); a segment with screens carries `screens: POST_SCREEN_DRAW_V` in its key. An item with +round-1 screens and none of `lineTakes` / `screenLine` draws, plans, keys, validates, guards and lints as before +(`post-screens-pin2.test.mjs`). The knobs: [knobs.md](knobs.md#screens-a-posts-text-screenshots); the CLI: `umtool posts screen <p> <item> -list|add|set|rm|check|read` ([cli.md](cli.md)); the post bench's **screens** section. +list|add|set|rm|check|read|record` ([cli.md](cli.md)); the post bench's **screens** section. ### The combo counter diff --git a/umtool/lib/cli/groups.mjs b/umtool/lib/cli/groups.mjs @@ -1009,7 +1009,8 @@ export const GROUPS = [ " `umtool timeline <p> --take <take> undo`), the project's manifest untouched; set-item/roles/reread/fx", " take --take <take> for it too (narrate's --take is a new read)", " umtool posts screen <project> <item> list | add --media <i> [--at a,b] --kind dm|email|post|text [--from <file>] [--line …]…", - " | set <id> <key>=<value>… | rm <id> | check <id> [--by n] [--undo] | read [--post-take n] [--line-take r=n]…", + " | add --from-read | set <id> <key>=<value>… | rm <id> | check <id> [--by n] [--undo] | read [--post-take n] [--line-take r=n]…", + " | record <id> <line> --recording <file> [--as c] [--no-clean] [--no-convert] [--check-words]", " a post's SCREENS: its text screenshots transcribed, drawn on its card and read after its words", " umtool posts say <project> ls | add <word> \"<spoken>\" [--case] [--item <id>] | remove <word> | try \"<text>\" | stale", " the PRONUNCIATION LEXICON every synthesized read applies (stale: picked reads that say it the old way)", @@ -1045,8 +1046,8 @@ export const GROUPS = [ "**one phrase of an approved read re-voiced**, the rest untouched (`lib/report/postRevoice.mjs`; operator, 5 Nov: the countdown gabbled, and pauses cut into it \"choppy\"): the phrase found in the picked take's word timings as `--pause` finds a word (`#n`, `--target`; inside one part), the original cut from just before its first word to just after its last -- each cut at the quietest 10 ms within ±40 ms of the boundary, and when that is still speech within ±0.15 s (never inside the phrase as timed; a nearer quiet preferred) -- **`--say` alone synthesized by the editor's TTS** (narrate-via-editor; the engine of the root take, the voice of the part the phrase is in, `--voice` overrides; the project's lexicon, redaction and slur filter applied; kept in `narration/parts-cache/` like a thread read's parts, so asking again is free), its lead and tail of silence trimmed, loudness-matched to the speech in the 2 s either side (±6 dB) and spliced in with equal-power crossfades (`--xfade`, 0–0.2 s) at both joins, at the take's rate and layout. The length is exact: the take − the span cut + the piece. Everything after moves by the difference (its words, the part holding the span, the later parts) so zooms, captions, slams, beeps and the read-follow stay on their words; the new words are timed from the piece's speech and marked `estimated` (a later `posts narrate … --words` refines them); the part's text and the script say `--say`. A derived take (`steps: [{op: \"revoice\", revoice: {word, count, words, phrase, say, said, voice, engine, from, to, seconds, gain, xfade, key}}]`) picked in ONE write; re-voicing exactly the words a re-voice put in re-cuts from the take before. `--dry-run`: the span (words, seconds), each cut and its level, what is said and in which voice, the length change when the piece is cached -- no TTS. A cut still in speech is warned of (the word timings off there): `--splice 65.03-66.00` sets the cuts (either side may be left out). `--in-take <t>` puts it in a take's read. No word timings (naming `posts narrate <p> <item> --words`), the phrase not read or across two parts, a recorded read, the TTS failing: **exit 1**; no `--say`, a bad voice, crossfade or splice, `--revoice` with another reread form: **exit 2**"], ["`posts progress <project> [auto\\|on\\|off\\|default] [--json]`", "the cut's **progress bar** default (`render.posts.progress`, `updatePostProgressRender`; [report-video.md](report-video.md#the-progress-bar)); bare, which items draw it"], - ["`posts screen <project> <item> list\\|add\\|set\\|rm\\|check\\|read …` (add: `--media <i> [--at <from>,<to>] --kind dm\\|email\\|post\\|text [--id <id>] [--title \"…\"] [--from <file>] [--line \"who: words\"]… [--read all\\|none\\|<n>,…] [--unread omit\\|dim] [--ref <channel>/<postId>]`; set: `<id> kind= title= media= at=<a>,<b>\\|off unread= ref= read=all\\|none\\|<n>,… read.<n>=\"excerpt\"\\|on\\|off line.add=\"who: words\" line.<n>=off line.<n>.who= line.<n>.side=left\\|right\\|auto line.<n>.text= line.<n>.time= line.<n>.redact=on\\|off [--from <file>]`; check: `<id> [--by <name>] [--undo]`; read: `[--post-take <n>] [--line-take screen:<id>:<line>=<n>]… [--voice-for h=v]… [--force] [--dry-run]`; `--json`, `--dry-run`, `--take <take>`)", - "a post's **SCREENS** ([report-video.md](report-video.md#screens-text-screenshots-read-as-part-of-the-post), [knobs.md](knobs.md#screens-a-posts-text-screenshots), `post-screens.mjs`): the text screenshots its attachments carry -- a DM exchange or an email shown in its video (`--at`: the seconds it is visible), an image that is a screenshot -- transcribed once (`--from`: a JSON screen, or text lines `[right] who: words \\| time`, `- words`, `[redact] …`), checked by a person (`check`; a screen not checked is a lint WARNING; new words take the check away), and read whole or in excerpts. Each write is the post item's one writer (`updatePostItem`'s `screens`, one undo point), refused in the build's words (**exit 1**); an attachment a screen is in cannot be removed. An e-mail address, a phone number, an order or long number in a line is masked on the card and never said. `read` makes the THREAD READ with the screens (as `posts narrate <p> <item> --take --thread`): her own line from the take that plays (or the one the thread read used; `--post-take n` another), never made again; each read line in its speaker's voice (`who`: the post's author in hers, a handle or a character's name in theirs); `--line-take` takes a line from the item's take n (a recording of it). Usage errors: **exit 2**"], + ["`posts screen <project> <item> list\\|add\\|set\\|rm\\|check\\|read\\|record …` (add: `--media <i> [--at <from>,<to>] --kind dm\\|email\\|post\\|text [--id <id>] [--title \"…\"] [--from <file>] [--line \"who: words\"]… [--read all\\|none\\|<n>,…] [--unread omit\\|dim] [--ref <channel>/<postId>]` or `--from-read [--media <i>] [--kind …]`; record: `<id> <line> --recording <file> [--as <character>] [--no-clean\\|--clean] [--no-trim\\|--trim] [--no-convert] [--pitch target\\|source\\|contour] [--semitones n] [--label l] [--check-words [--worker w]] [--events]`; set: `<id> kind= title= media= at=<a>,<b>\\|off unread= ref= read=all\\|none\\|<n>,… read.<n>=\"excerpt\"\\|on\\|off line.add=\"who: words\" line.<n>=off line.<n>.who= line.<n>.side=left\\|right\\|auto line.<n>.text= line.<n>.time= line.<n>.redact=on\\|off take.<n>=<take n>\\|off [--from <file>]`; check: `<id> [--by <name>] [--undo]`; read: `[--post-take <n>] [--line-take screen:<id>:<line>=<n>]… [--voice-for h=v]… [--force] [--dry-run]`; `--json`, `--dry-run`, `--take <take>`)", + "a post's **SCREENS** ([report-video.md](report-video.md#screens-text-screenshots-read-as-part-of-the-post), [knobs.md](knobs.md#screens-a-posts-text-screenshots), `post-screens.mjs`): the text screenshots its attachments carry -- a DM exchange or an email shown in its video (`--at`: the seconds it is visible), an image that is a screenshot -- transcribed once (`--from`: a JSON screen, or text lines `[right] who: words \\| time`, `- words`, `[redact] …`), checked by a person (`check`; a screen not checked is a lint WARNING; new words take the check away), and read whole or in excerpts. Each write is the post item's one writer (`updatePostItem`'s `screens`, one undo point), refused in the build's words (**exit 1**); an attachment a screen is in cannot be removed. An e-mail address, a phone number, an order or long number in a line is masked on the card and never said. `read` makes the THREAD READ with the screens (as `posts narrate <p> <item> --take --thread`): her own line from the take that plays (or the one the thread read used; `--post-take n` another), never made again; each read line in its speaker's voice (`who`: the post's author in hers, a handle or a character's name in theirs); `--line-take` takes a line from the item's take n (a recording of it), and a line's CHOSEN take (`take.<n>=`, the bench's select) is read in its place -- a recording nobody chose is named, never read in. `add --from-read`: a PICTURE-ONLY post's read (its `narration.script`) made its screen, a line per line, on its picture, read whole, NOT checked -- no speaker parsed out of it. `record`: ONE LINE in your voice ([report-video.md](report-video.md#a-line-in-your-own-voice), `lib/report/screenLineRecord.mjs`) -- the line as the read says it (its shapes and the redaction left out, an anonymous handle as its shown name), kept as new takes through `posts narrate --recording`'s chain: recorded, cleaned, converted to its SPEAKER's character's stock voice (none: kept as recorded, said), NONE picked, each carrying `screenLine`; refused on an item with no read of its own (**exit 1**). A line take is refused picked as the item's read, as `--post-take`, for another line, or once its line's words or speaker changed. `--check-words` (the editor's transcribe op; opt-in, CLI only): refused when it is heard saying a shape, an @handle, an anonymous handle or a redacted term -- nothing kept -- and a warning on other words. Usage errors: **exit 2**"], ["`posts roles <project> [<item> …] [--write] [--set <n>=<role>,…] [--json]`", "a narrated read **piece by piece** ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said), [report-video.md](report-video.md#thread-reads)): the text each part of the picked take reads -- `parent:<i>`, `quoted`, `post`, `media:<i>` -- stored or inferred, what the card shows for each, and the build's guard (a part read off a post the card hides is refused). `--write` stores the inferred roles on the picked takes' parts (one write; the import stores them for every new take); `<item> --set n=role,…` sets parts' roles by hand (`off`: inferred again); a part out of range or an unknown role is refused (**exit 1**)"], ["`posts narrate <project> --import [--dry-run] [--json]` · `--list` · `<item> [--script \"…\"] [--pick <n>] [--approve\\|--unapprove] [--off\\|--on] [lead= tail= ramp= linger= clip=read\\|full wet= lowpass= duck=on\\|off short=hold\\|loop attach=under\\|after lufs= pace=fast\\|normal]` · `<item> --take [--note \"…\"] [--voice v] [--engine e] [--speed s] [--script \"…\"]` · `<item> --derive <n> --op enhance\\|convert [--engine e] [--voice v]` · `<item> --delete <n>` · `--all --draft-scripts [--force]` · `--all --take [--limit N]` · `--cut <k=v>…`", diff --git a/umtool/lib/cli/verbs.mjs b/umtool/lib/cli/verbs.mjs @@ -507,7 +507,11 @@ function posts() { pairs({ required: false, help: "the mix: lead= tail= linger= rate= …, one per line" }), inTake(), ], { ...Q, ...POST_ITEM }), p("screen", "draft", "a post item's text screenshots: transcribed, drawn, read", [ - item(), pick("op", ["list", "add", "set", "rm", "check", "read"], { required: true }), arg("screen", { required: false, help: "the screen's id (set, rm, check)" }), + item(), pick("op", ["list", "add", "set", "rm", "check", "read", "record"], { required: true }), arg("screen", { required: false, help: "the screen's id (set, rm, check, record)" }), + arg("line", { required: false, help: "record: the line's number" }), bool("--from-read", "add: a picture-only post's read made its screen"), + file("--recording", { help: "record: your read of the line (a sound file)" }), opt("--as", { help: "record: the character to convert to (default: the line's speaker's)" }), + bool("--no-clean"), bool("--no-convert"), pick("--pitch", ["target", "source", "contour"], { help: "record: a convert's pitch" }), num("--semitones", { help: "record: -12…12" }), + bool("--check-words", "record: transcribed first, refused when it says a number, a handle or a redacted term"), num("--media", { help: "add: the attachment it is in" }), opt("--at", { help: "add: <from>,<to> seconds of a video" }), pick("--kind", ["dm", "email", "post", "text"]), opt("--title"), many("--line", { repeat: true, item: "line", help: "add: a line `who: words`, one per line" }), opt("--read", { help: "add: all, none or line numbers" }), pick("--unread", ["omit", "dim"]), opt("--by", { help: "check: who checked it" }), bool("--undo", "check: not checked"),