Archilyzer · Source

archilyzer

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

commit 605ec7212dec228bd19ea57e25d9630d6f259cdf
parent da8f62b73a3fe0a0be14e0f0148b338bbe152486
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sun, 18 Oct 2026 01:49:23 -0400

plans: release 33 M3b as shipped — the montage wall in synced groups, tail and exclusive walls, build-to-wall

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Aplans/release-33/wall-sync.md | 86+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+), 0 deletions(-)

diff --git a/plans/release-33/wall-sync.md b/plans/release-33/wall-sync.md @@ -0,0 +1,86 @@ +# Release 33 lane M3b — the montage wall in synced groups (as shipped) + +The operator auditioned the slow-news takes (2026-10-17/18): "I really like the wall finale … something with elements +from accelerate with a wall finale … really sync up those wall groups and speeding up the pacing toward the end — the +slide transition was cool too". Addendum: "if we do the unison wall finale it shouldn't have had those same clips +appear earlier, use it as a way to condense the repetition." + +## What + +1. **`wall.groups: "single" | "double"`** — "double": groups of 1, 1, 2, 4, 8 … (`wallGroups`; a leftover smaller than + the group before joins it: 9 → 1,1,2,5; 16 → 1,1,2,4,8; 25 → 1,1,2,4,8,9). Each group arrives together on a beat. The + gaps between beats fall evenly from the first to half of it across `build` (`wallBeats`). The tiles slide in from the + right over 4 frames. A group is heard in unison at min(1, 1.25/√size) and falls silent with a 40 ms fade just before + the next group's beat (ruled: silent, not ducked, so each group's unison reads alone). Earlier tiles freeze. Then + every tile together, the crowd at 1.6/√tiles, limited. +2. **`wall.sync`** (default on with "double") — each tile is cut 0.12 s before its phrase onset and runs to 0.25 s past + the phrase. It shows 0.12 s before its beat, so the onset lands on its group's beat and on the final beat, to the + frame (`groupedWallPlan`). + - **Onsets.** The estimate is whisper's token offset (the corpus's `transcript.json`) or the cue character estimate. + Neither is good to better than a few hundred ms here, and one clip's loudness rise picks the wrong syllable in + connected speech. So with 3+ tiles they are aligned to each other: `consensusLags`, an 8-band speech spectrum, + ±0.4 s, median shift zero. The group is then anchored on its mean loudness's rise (`templateOnset`, ±0.3 s). + - Fewer tiles keep `refineOnset`. +3. **`wall.clips: "spread" | "tail"`, `wall.exclusive`** — "tail": the last `tiles` clips in date order. `exclusive`: the + wall's clips are tiles only, outside the run (no segment, no chapter). `montageSplit` is the one place that says which + clips are tiles; `planMontage`, the build and verify-build all read it. Fewer than 2 run clips is a lint error. +4. **`ramp.into: "wall"`** — the ramp ends on the wall's first gap (`wallFirstGap`), `to` optional. +5. **Whip into the wall** — the wall already enters with the cut style (`cutStyleParts` on the wall segment). With + groups, each group slides in (above): cheap and clean, so no hard pop. +6. **`build-to-wall`** (label "Build to the wall") — whip, ramp from 3.5 s into the wall, drift, tally (as accelerate; it + reads over the whips because the counter is drawn after the cut style), and an exclusive tail wall of 25 in synced + double groups (1,1,2,4,8,9) with years, build 7.5 s (first gap 1.67 s). The other six styles take `null` for the new + nested keys (`ramp.into`, the four wall keys), so one style over another still leaves exactly the second. Their effect + is unchanged. +7. The grouped compose re-stamps its mix by sample count before the fades. On real tiles amix's clock ran ahead and the + end fade silenced everything after the first tile (found by the smoke; today's single wall is left byte for byte as + it was). + +## Files + +`umtool/report-to-video/montage.mjs`, `montage-styles.mjs`, `build-video.mjs` (`findMontagePhrase`, +`montageWallSource`, `speechExcerpt`, `wallOnsets`, `buildMontageWall`, the exclusive split in the entries), +`verify-build.mjs`, `montage.test.mjs`, `README.md`, `umtool/docs/report-video.md`, `editor/CHANGELOG.md`, +`plans/FACTS.md`. + +| Commit | What | +| --- | --- | +| `9454a027` | groups, sync, tail, exclusive, ramp into the wall, build-to-wall, validation; tests | +| `8acbc01b` | consensus alignment + template anchor; the grouped mix re-stamped; README | +| `2075a5e7` | docs (docs/report-video.md, FACTS, CHANGELOG) | +| (this commit) | this record | + +## Gates + +- tsc clean before each commit. +- test:scripts 1113 (1109 pass, 4 skipped) at `main` `00f6da06` → **1125 (1121 pass, 0 fail, 4 skipped)**. +- Byte-identical defaults: a wall-finale and an accelerate manifest built by main's and the branch's build-video → + identical md5. In the suite, a wall + ramp manifest with the new keys spelled at their defaults matches the bare one. + That test failed once in one run of the suite and passed in 5 runs after; it now names the differing segment on a + mismatch. Main's wall built 4× concurrently was bit-identical, so the one-off mismatch was not reproduced. +- Real render tests: build-to-wall over 12 synthetic clips. Three clips run and nine are tiles. Length is right to ±1 + frame. The last cut is no longer than the first gap. Every onset moved 2.0 → 2.25 s (the sound) within 15 ms. Each + tile's own phrase starts at its 0.12 s lead. Groups are empty before their beat and filled on it. The wall is audible + on every beat. 4 chapters; verifyBuild clean. + +## Smoke (the project read only; copied fresh after the operator's edits: 73 clips) + +`$T/r33m3-smoke2/build-to-wall.mp4`: 116.9 s, 49 chapters (48 run clips + the wall), verify-build ok, rendered in 198 s. + +- **Wall:** 8.7 s; tiles s49–s73; group beats 0.13, 1.80, 3.30, 4.63, 5.80, 6.80 s; final beat 7.63 s; anchor +175 ms. +- **Run cuts near the wall:** s45 1.78, s46 1.66, s47 1.71 (cap 1.71), s48 1.56 s; first gap 1.67 s. +- **Onset sources:** of the 73 clips, 40 have whisper token offsets, 16 a parakeet `chunk_data`, 17 neither. Of the 25 + tiles, 13 used whisper's words and 12 the cues. +- **Onset spread:** each tile's broadband loudness envelope cross-correlated with the mean of the others' (±250 ms): + + | Alignment | median | p90 | within 50 ms | + |---|---|---|---| + | estimates | 155 ms | 345 ms | 4/25 | + | per-clip loudness rise | 150 ms | 245 ms | 9/25 | + | consensus (shipped) | 185 ms | 255 ms | 10/25 | + + This measure has a floor of its own: syllable ambiguity. +- **Crowd sharpness:** the steepest 50 ms rise of all 25 tiles summed at their alignment points goes from 1.6 dB + (estimates) to 9.4 dB (shipped). In the rendered wall, the crowd's sharpest rise is 8.6 dB at −10 ms from the final + beat. +- `wall-groups.jpg` (each group's arrival and the final beat), `wall-slide.jpg` (a group sliding in), `contact.jpg`.