Repository navigation
ASSET-576: Convert exported AWC music cues to per-channel Audacity label tracks - #6819
Merged
shayderrr merged 1 commit intoNov 23, 2026
Merged
Conversation
This was referenced Nov 23, 2026
shayderrr
approved these changes
Nov 23, 2026
shayderrr
left a comment
Collaborator
There was a problem hiding this comment.
Summary
- Adds
tools/awc_cue_labels.py, converting a 48 kHzcue_regions.jsoninto per-channel Audacity label files with 9-decimal times, cue hash and one-based row numbers. - Validates channel names, cue hashes and sample intervals, stages output in a temporary directory, and refuses existing output directories.
- Adds
tests/test_awc_cue_labels.pyfor round-trip timestamps and invalid-channel rejection, plus Audacity import instructions indocs/audio.md.
Why merge
It gives the cue sheets from the exporter a concrete Audacity workflow with precise frame recovery and safe publishing. Tests cover the tricky rounding and path-validation cases.
Verdict: Approve
Collaborator
Summary
Why mergeIt gives the cue sheets from the exporter a concrete Audacity workflow with precise frame recovery and safe publishing. Tests cover the tricky rounding and path-validation cases. Verdict: Approve |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item AWC-MUSIC-AUDACITY-LABELS (claim).
Depends on: #6780
Depends on: #5518
Convert a single exported bank sheet with
python -I tools/awc_cue_labels.py <bank>/cue_regions.json <new-label-directory>. Each channel gets a matching text track in the Audacity label format. The label records the cue hash and one-based bank-sheet row number. The converter reads only JSON and preserves repeated and overlapping intervals.AI-assisted. Tested on Windows, CPU only. Two isolated CLI tests passed, including parsing text times back into exact 48 kHz frames across channels, overlaps, repeated rows and the 32-bit upper endpoint. The newline suite, compileall and staged diff check passed. No exported private cue sheets were found in the checked work cache. No game files or GPU required.