[codex] Add Loom3 lip-sync sequence compiler - #143
Closed
meekmachine wants to merge 1 commit into
Closed
Conversation
Owner
Author
Full triage — CLOSE_PRlipsyncSequence / provider event compiler is a planner/adapter, not Embody apply. Move to Polymer LipSync (JALI #9–14). |
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
lipsyncSequence(input, options)API that compiles provider viseme timing or existing viseme snippet JSON into one managed mixer clip.compileLipsyncSequence(...)plus public types for Microsoft/Azure event shapes, sequence options, normalized events, and compiled sequence data.visemeSlots[*].providerIds, optional source mappings, profile slot ids/labels, morph-target overrides, and per-sequence jaw activation.visemeJawAmountsso jaw rotation stays inside Loom3's existing auto-viseme-jaw mixer path.Research notes
Microsoft's current Azure Speech viseme docs describe 22 viseme IDs and state that
Audio offsetis emitted in 100 ns ticks. The same docs expose anAnimationpayload for SVG/blend-shape output. This PR accepts those source IDs/ticks directly and preserves raw animation payloads on normalized events for downstream inspection/future blend-shape support.Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-speech-synthesis-viseme
Validation
npm run typechecknpm testnpm run buildFixes #141