Archilyzer · Source

archilyzer

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

commit 77b22386fd96bc3c739fe49979c525a4e8e3a31e
parent f18aae045df6959c079323a9ec3c04a8fe6b05cb
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sun, 18 Oct 2026 03:18:27 -0400

plans: release 33 M3d as shipped — the silent tile (window clock, near-silence relocated, consensus bounded)

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

Diffstat:
Aplans/release-33/silent-tile.md | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+), 0 deletions(-)

diff --git a/plans/release-33/silent-tile.md b/plans/release-33/silent-tile.md @@ -0,0 +1,70 @@ +# Release 33 lane M3d — the silent tile (as shipped) + +In the build-to-wall smoke, the s70 tile (v7fucc4, window `clips/355.02-368.18.mp4`) measured −53.7 LUFS and was raised +the full +20 dB. s38 (v4dl2pq @6331) measured −38.6 LUFS and was also raised +20 dB. + +## What was wrong + +- **s70: the window's clock.** The Rumble section cut keeps its source's timestamps: its picture starts 1.00 s in + (audio 0.94 s). ffmpeg's `-ss X` counts from the file's start time, while the window's name counts from zero. + Measured against the cues (silences vs cue gaps on s70 and s65), the content at `-ss X` is the source at + `from + start_time + X`. So every cut from such a window landed start_time late; s70's phrase fell into the pause + after "…slow news week". 5 of the project's 73 windows have this (s50 1.80 s, s56 1.59 s, s63 0.11 s, s65 2.11 s, + s70 0.94 s). +- **s38: the words were wrong, the clip was not quiet.** Whisper's token offsets put "slow news day" at + 6333.18–6335.69. The window's speech (−23 dB RMS) ends at 6333.5 and is followed by 4 s of silence. So s38 was + **mislocated**, not a genuinely quiet co-host clip. + +## What changed + +1. **`fetchClipAligned`** (every segment and wall tile): when a file's video stream starts > 0.05 s in, `fetchStart` + moves by the container's start_time and the build says so. Anything else (an mp3's encoder delay included) is cut as + before. `--fetch-only` still reports the raw value. +2. **Near-silence is a mislocated phrase** (under `render.montage.loudness`). A clip cut that measures < −40 LUFS, or 15 + LU under the run's median once 5 clips are measured, is handled as follows: + - its phrase is relocated by the sound (`relocateBySound`: the stretch of the phrase's length (≤ 1.5 s) nearest the + estimate, within the clip's extent, with 75% of its frames at ≥ −40 dBFS); + - the clip is cut again from there; + - this is said in the build log and recorded in `montage.loudness.relocated {from, to, why}`, with + `montage.found: "sound"`. + + An exclusive wall's tile is checked the same way at its phrase (`montageWall.sync[].relocated`). Near-silence is + never raised: `loudnessGain` is 0 under −40 LUFS. +3. **The consensus may not shift a tile into a pause.** A shift whose next 0.4 s is more than 10 dB quieter than the + estimate's keeps the estimate (`shiftAllowed`; `by: "estimate"`, `held`). On the smoke this held s70: its + consensus shift would have gone into the pause. + +## Files + +`umtool/report-to-video/build-video.mjs` (startOffset, fetchClipAligned, relocatePhrase, montageCheckSound, +montageWallSource, wallOnsets), `montage.mjs` (nearSilent, median, relocateBySound, shiftAllowed, loudnessGain), +`montage.test.mjs`, `README.md`, `editor/CHANGELOG.md`, `plans/FACTS.md`. + +| Commit | What | +| --- | --- | +| `ceda2d9c` | the window clock, near-silence relocation, the consensus bound; tests | +| `b0d5b477` | relocation tuned on the real windows (75% at −40 dBFS); README, FACTS, CHANGELOG | +| (this commit) | this record | + +## Gates + +- tsc clean. +- test:scripts: 1136 → **1141 (1137 pass, 0 fail, 4 skipped)**. Montage files 66/66, including two synthetic renders: + - a long cue with the phrase at its end, then silence: relocated onto the speech and leveled within 1 LU; + - a window whose picture starts 1 s in, cut on the same source seconds as its unshifted twin. +- **Byte-identical without loudness:** wall-finale and build-to-wall manifests as main writes them, minus loudness, + give identical md5s from main's and the branch's build-video. + +## Smoke (fresh copy of the project, 73 clips): `$T/r33m3-smoke4/build-to-wall.mp4` + +116.5 s, 49 chapters, verify-build ok, 318 s. + +| Clip | Before (r33m3-smoke3) | After | +|---|---|---| +| **s70 tile** | raw −53.7 LUFS, output −33.8 LUFS | raw −22.5 LUFS, output −16.1 LUFS | +| **s38** | raw −38.6, output −40.1 (the take) | relocated 6333.18 → 6331.95 s, raw −21.9, output −16.1 LUFS | + +- **s70:** fixed by the window clock alone (its estimate is now on speech). Its consensus shift was held. +- **Run clips, leveled:** range 0.7 LU, std 0.17. Before this lane: 4.1 LU and 0.6; the take: 28.2 LU. +- **Wall tiles, raw:** −26.9 … −14.4 LUFS. Before: −53.7 … −14.4. +- **Stills:** `s70-tile.png` and `s70-tile-1s.jpg` (the tile's first second, 6 frames).