Repository navigation
feat(pipeline): add the story.sound and story.crilips products - #80
Merged
Merged
Conversation
story.sound makes one product per cue sheet a story plays: cues.json maps each cue name to its first stream (sample rate, channels, samples, loop points) and the streams are in the web format of the `audio` parameter, AAC by default with each file's encoder delay, or the decoded FLAC as it is. A sheet several stories share is encoded once. story.crilips reads the CRI Lips library of the APK and writes the analysis descriptor and weights; a library of an unknown version makes the product unsupported (unsupported.crilips.version). A product subject without roots reaches nothing and reads no census. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The AAC test of story.sound now replaces the ffmpeg lookup that the encoder atoms use as well, so it runs where ffmpeg is not installed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Two products a story plays with, made by
nnnotes.pipeline.story:story.sound: one product per cue sheet (cuesheets/<sheet>.json).cues.jsonmaps each cue name to its first stream (sample rate, channels, samples, loop points); the streams are in the web format of theaudioparameter: AAC by default, each file with its encoder delay, or the decoded FLAC as it is. A sheet several stories share is encoded once.story.crilips: the CRI Lips analysis data read from the APK's library (crilips/default.json:crilips.jsonandcrilips.bin). A library of an unknown version makes the productunsupported(unsupported.crilips.version).Docs:
docs/products.md(Stories),docs/stages.md(stage rows, reason code).Tests
tests/pipeline/test_story.py: subjects, keys and manifests; cues from the first stream of each name; FLAC kept as decoded; AAC with each encoder delay; an undecoded sheet; the CRI Lips product on a synthetic library, an unknown version, a missing library.Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com