Skip to content

fix(story): include CRI categories in sound products - #88

Merged
nichinichisou0609 merged 2 commits into
redesign/depotfrom
fix/story-sound-categories
Oct 17, 2026
Merged

nichinichisou0609 merged 2 commits into
redesign/depotfrom
fix/story-sound-categories

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

story.sound now includes each cue's nonempty CRI category list in cues.json, read from the cue's ACB sequence. The categories field contains the ordered names from acb.cue_categories, allowing playback volume to follow the cue sheet's categories. The stage version is 2 so existing sound products are recomputed.

Validation: synthetic ACB tests cover AAC and FLAC output, cues without categories, first-stream selection, encoder delay, stream records and cache keys. The local test suite passed with 1671 tests and 6 skips; lint, formatting and import contracts passed.

Read each cue's category names from the ACB when assembling story.sound.
Record nonempty lists in cues.json and version the stage so cached sound
products are recomputed. Audio files and decoded stream records retain
their existing contracts.
Use the test encoder for the shared audio atom lookup as well as the
sound assembler so synthetic category tests run without an installed
ffmpeg executable.
@nichinichisou0609
nichinichisou0609 merged commit b1b19da into redesign/depot Oct 17, 2026
8 checks passed
@nichinichisou0609
nichinichisou0609 deleted the fix/story-sound-categories branch October 17, 2026 07:13
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.

1 participant