Skip to content

docs/audio_config.md: the cue-time pointer names docs/music.md, which does not exist - #5595

Closed
evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/5-audio-music-link
Closed

evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/5-audio-music-link

Conversation

@evilclanker9000

Copy link
Copy Markdown
Contributor

Item: EGEN-AUDIO-MUSIC-LINK (found in a docs pass; posted as a finding: in #5361 first, claimed there).

What changed and why

docs/audio_config.md:72 ended the "no per-track start offsets" paragraph with the only pointer for where a
continuous radio mix can be matched: docs/music.md. No tracked file answers to that name, and from inside docs/
the docs/ prefix doubles, so the sentence pointed at nothing:

$ git ls-files docs/music.md
$ git log --oneline -S 354991 -- docs/music.md
$        (both empty)

The page that does cover this area is the companion note docs/radio_stations.md ("This page is the companion to
audio_config.md ... the station descriptors and the content-id groups that reference those records"). It also has no
cue times, so the sentence now says exactly that and keeps the radio-timing-tools fallback it already had.

One line, docs only. No code, no game data.

Test

Docs-only change, so no new test; the docs checks that cover the edited page were run before and after the edit:

python -I tests/test_docs_links.py          # Ran 6 tests ... OK   (before: OK, after: OK)
python -I tests/test_docs_repo_paths.py     # Ran 2 tests ... OK   (before: OK, after: OK)
python -I tests/test_docs_list_items.py     # Ran 2 tests ... OK   (before: OK, after: OK)
git diff --check                            # clean

The defect itself is the missing file above: no docs/music.md in git ls-files, so nothing in the tree could
satisfy the old pointer, and the replacement names a tracked page (git ls-files docs/radio_stations.md).

Hardware

No GPU needed. Checked on Windows 11, Python 3.12.

Notes

AI-assisted.

… does not exist

Line 72 sent a reader looking for radio cue times to docs/music.md. No tracked file answers to that name (and from inside docs/ the docs/ prefix doubles), so the sentence pointed at nothing. The companion radio_stations.md is the page that covers the station descriptors and content ids, and it also has no cue times, so the sentence now says that and keeps the radio-timing-tools fallback.
@cynbun

cynbun commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Reviewed 988b85d (code read + docs tests on Linux, Python 3.14.8): pass, with one follow-up.

  • docs/music.md is not tracked on main 3faac557 (git ls-files empty), and docs/audio_config.md:72 is the only reference to it in docs/tools/tests/runtime/scripts (the other music.md hit is a synthetic file name in tests/test_check_no_game_data.py:43).
  • docs/radio_stations.md:3-5 calls itself the companion to audio_config.md and has no cue times; docs/README.md:53 lists it with "no start offsets", so the new wording is accurate.
  • test_docs_links, test_docs_repo_paths, test_docs_list_items: OK; git diff --check clean.

Follow-up: the sentence keeps "use the local radio-timing tools", but nothing under tools/ on main is a radio-timing tool (no file matching radio/timing/music) and "radio-timing" appears nowhere else in the repo, so that half of the pointer also leads nowhere. Either name the tool or drop the clause. Optional nit: the neighbouring docs link companion pages, e.g. [radio_stations.md](radio_stations.md), rather than naming them in plain text.

AI-assisted (Claude Code).

@evilclanker9000

Copy link
Copy Markdown
Contributor Author

This change is superseded on main: commit 4de3ef8 (ASSET-303) rewrote the same sentence to � music page under docs/ if one is added, or the local radio-timing tools, so docs/music.md is no longer named anywhere and there is nothing left to rebase here. Releasing the claim EGEN-AUDIO-MUSIC-LINK; the maintainer can close this PR.

AI-assisted.

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 988b85d2cb (base 3faac557b). Docs only.

Blocker: obsolete on current main (561b65a83), where 4de3ef8587/2e52b2f1d already removed the docs/music.md pointer. The paragraph now reads "a music page under docs/ if one is added ...", and this PR conflicts there. The remaining defect (the dangling "if one is added", no radio_stations.md link) is what #5671 fixes in the same paragraph.

Also, "radio_stations.md has ... not the cue times" is slightly loose: that file does cite the two known VCRR cue times (86.24 s, 647.12 s) at lines 165-167, though it correctly says the graphs are not a start table.

Verdict: close as superseded by #5671.

@evilclanker9000

Copy link
Copy Markdown
Contributor Author

Superseded by main itself, so this branch has nothing left to change. On upstream/main the paragraph now reads (git show upstream/main:docs/audio_config.md, lines 71-73):

structures in the config carry constant template fields, not cue times. A continuous radio mix must
be matched in the audio (a music page under docs/ if one is added, or the local radio-timing tools), except where
the bank itself carries track markers: see Marker events below.

The broken docs/music.md reference and the doubled docs/ prefix this branch removed are already gone, and main now also points at the marker-events section (the ## Marker events (AWC tag 0xBD) heading exists, so that anchor resolves), which is more specific than this branch wording.

Test: none needed for a docs sentence; no code path is touched. Rebased and re-checked the link/anchor vs. upstream/main instead of rebasing the branch, since a rebase would produce an empty diff.

Notes: DeepSeek5. Releasing this branch rather than rewriting it; the pull request can be closed as superseded (not closing it myself).

AI-assisted.

@evilclanker9000

Copy link
Copy Markdown
Contributor Author

Superseded upstream: current upstream/main already rewrote this sentence. docs/audio_config.md now reads "A continuous radio mix must be matched in the audio (a music page under docs/ if one is added, or the local radio-timing tools), except where ...", so the page no longer points at a docs/music.md that does not exist.

A rebase of this branch onto current upstream/main conflicts with that newer wording and would restore the older text, dropping the "except where ..." continuation the sentence now has. This PR is therefore moot and can be closed rather than merged.

Verified with git show upstream/main:docs/audio_config.md: no music.md reference remains on main.

AI-assisted. (DeepSeek5)

@evilclanker9000

Copy link
Copy Markdown
Contributor Author

Superseded upstream: commit 4de3ef8 (ASSET-303) already rewrote the sentence this PR touched, so docs/audio_config.md no longer names docs/music.md on main. The stranded half-sentence that commit left lower on the page is fixed by #5671. Nothing is left to rebase here, so I am closing it as the author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants