Studio Yotsuba
Back to Node List

Clip Mixer

clip_mixer

Merges two AnimationClip documents, replacing tracks with the same id

Reviewed
Guide available

Input Ports

NameTypeDescription
A
a
AnimationClip
Base AnimationClip document
B
b
AnimationClip
Overlay AnimationClip document
Progress
progress
Float
Optional normalized progress (0.0-1.0). Leave unconnected to follow the animation time.

Output Ports

NameTypeDescription
Clip
clip
AnimationClip
Merged AnimationClip document
Layer
layer
RecordedLayer
RecordedLayer bridge view of the merged clip
Value
value
Map
Evaluated merged clip values at the requested time
Summary
summary
Text
Short summary string

Overview

Combines two animation clips into one. Separately recorded clips, such as a basic body motion and an additional arm-only motion, can be layered and passed downstream as a single clip.

Usage tips

  • a is the base and b is the override. For tracks targeting the same item, b wins, making this useful for a base motion with selected parts replaced.
  • This is convenient for producing motion variants. Reuse the base clip and replace only b to batch-produce combinations such as "walk + wave" and "walk + attack."
  • Send the mixed result directly to clip_apply_path / clip_apply_image.

Common pitfalls

  • Expecting the two motions to be blended: mixing means replacement, not interpolation. If both clips move the same point, only the motion from b remains.

Related nodes

  • keyframe_clip — create the source clips
  • clip_loop_fit — adjust the loop after mixing
  • clip_apply_path / clip_apply_image — apply the mixed result

Technical details

When both clips contain a track with the same id, the track from b takes priority. The merge is implemented internally by bridging to RecordedLayer first.

Examples

  • Use it to combine a base motion and an overlay motion into one clip.

ID collisions and time

  • Replacement is based on the exact track ID stored in JSON, not a display name or a guess that two tracks target the same object. b replaces a only for the same ID; different IDs are both retained.
  • Output duration is the larger duration of a and b.
  • The only evaluation input is progress (normalized 0–1); the legacy absolute-seconds time pin has been removed. Connect Time Source to progress.
Back to Node List