Back to Node List

Clip Mixer

clip_mixer

Merges two AnimationClip documents, replacing tracks with the same id

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
A
a
AnimationClip
ベースになる AnimationClip document です
B
b
AnimationClip
重ねる AnimationClip document です
進行度
progress
Float
正規化進行度(0.0〜1.0)のオプション入力です。未接続ならアニメーション時間に自動追従します

Output Ports

NameTypeDescription
クリップ
clip
AnimationClip
統合済み AnimationClip document です
レイヤー
layer
RecordedLayer
統合済み clip を RecordedLayer として見た bridge 出力です
value
Map
指定時刻で評価した統合 clip の現在値です
概要
summary
Text
短い概要文字列です

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
Clip Mixer — PixPipeline Node Reference