274: transect composition, spectrum outro, and lyric fixes it exposed #1
Reference in New Issue
Block a user
Delete Branch "song274/transect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merges the transect work for 274 into the song's master branch.
What this adds
Song274Transect — a Remotion composition (
src/song-274/) that draws Route 274 in its true shape and plays it with the song:data.ts): readssong-274/route/at load time — lyrics index, roster, route, and the west/east approach stubs. Nothing is copied into code;remotion.config.tsmakessong-274/the public dir.progress.ts): a "covered so far" paint over the dimmed road, pinned to each sung object's km as its line starts, gliding on a monotone cubic. The west stub is always painted; the east stub is visible dim and painted after 東に続く (EAST_RUN_S).camera.ts): close zoom during each narration part, following a Gaussian-smoothed head; pulls back to the covered road (plus some road ahead) in the breaks and to the full map after the lyric.nodeAnimation.ts): only sung objects are drawn;lightUp/switchOfflooks, with long lines switching off afterMAX_LIT_S. Nodes sharing exact coordinates are spread slightly along the road (layout.ts).spectrum.ts): fromSPECTRUM_START_Seach node gets a seeded-shuffled log-spaced frequency band and sizes with its amplitude (@remotion/media-utils, windowed audio).palette.ts): every colour a named token; dark palette retuned, light palette alongside.Deliverables fixed along the way: building the transect exposed problems in the lyric (紅葉山橋 is on R452, 下福山橋/オロロップ橋 at the wrong km, lines mistimed). Fixed upstream in the wiki (ncmr-songs
7af0f48);274.lrc,274.srtand274.asshere follow, andBOM.mdrecords the274_release2.wavmaster.Checks
eslint src && tscclean on every commit's tree.Rendering note
Render video with
--mutedand add audio with ffmpeg (AAC 320k,-c:v copy): Remotion's own AAC comes out 42.75 ms late.🤖 Generated with Claude Code