Logo Beat Sync Editing

Beat Sync Editing

Tổ chức
iart-ai
beat-sync-editing

This skill should be used when the user asks to "cut to the beat", "fix the pacing", "edit this sequence", "sync cuts to music/BPM", "add a match cut / J-cut / L-cut", "build a speed ramp", or "plan a shot sequence / edit timeline". Covers editing rhythm, transitions, retiming, and translating an edit plan to an NLE or a code timeline (Remotion/AE frames).

Tổng quan

Nhà phát hànhiart-ai
Kho mãmotion-design-skills
Tên kỹ năngbeat-sync-editing
Sao
164
Bản fork
31
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được iart-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Beat Sync Editing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/iart-ai/motion-design-skills/tree/main/skills/beat-sync-editing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iart-ai/motion-design-skills.git /tmp/motion-design-skills
mkdir -p .claude/skills
cp -r /tmp/motion-design-skills/skills/beat-sync-editing .claude/skills/beat-sync-editing
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Beat Sync Editing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Beat Sync Editing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Beat Sync Editing với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Beat-Sync Editing (Cuts & Rhythm)

The timeline craft: how clips and beats assemble into a piece that feels right. Editing is temporal design — when a cut lands matters as much as what is on screen. This skill turns musical and narrative structure into concrete cut points, transitions, and retimes, expressible in an NLE or as frame numbers in code.

When to use

  • Assembling a sequence or cutting footage to a music track.
  • Pacing drags or feels choppy; transitions feel arbitrary.
  • Building speed ramps, match cuts, or tension/release structure.
  • Converting an edit plan into a frame-accurate timeline (Remotion, AE, NLE).

Decision tree

What's the editing problem?
├─ Cuts feel off the music
│   └─ get BPM + offset → frames_per_beat = (60/BPM)*fps
│      → cut on PHRASES (2/4/8 beats), biggest visual on the drop
├─ A cut feels jarring / visible
│   └─ cut on action (mid-motion), match direction + velocity
│      → still rough? motivate a transition (match / J / L), else hard cut
├─ Pacing drags or feels flat
│   └─ shape an arc: Establish → Develop → Climax → Resolve
│      → shorten avg shot length toward climax, hold after it
├─ A hit needs impact
│   └─ speed ramp INTO it (slow-mo), snap back; land slowest frame on the beat
└─ Need to hand it to code
    └─ express every cut as a frame number, clip as from/duration,
       transition as overlap, retime as eased time-remap (Remotion/AE)

Cross-reference — apply the shared frameworks.

  • Motion Personality (motion-art-direction) sets cut rhythm: the chosen energy maps straight to phrase length and transition family. Pick one and commit (see the table below).
  • Three Pillars + beat-sync (animation-principles): settle emotional intent first (hype vs. calm) — it decides whether you cut every bar or hold for four. animation-principles defines the BPM→beat relationship; this skill turns it into frame-accurate cut points and the transition/retime craft on top.

Motion Personality → cut rhythm

PersonalityPhrase (cut every)Transition familyRetimeReads as
Playful4 beats, syncopated accentsmatch cuts, quick whipslight ramps, bouncyfun, kinetic
Premium8–16 beats, long holdshard cut + occasional dissolveslow, smooth rampselegant, unhurried
Corporate8 beats, steadyhard cut, cleanminimalclean, trustworthy
Energetic1–2 beats at climaxhard cut, whips, hard snapsaggressive ramps on beatsbold, hype

Core workflow

1. Find the grid: BPM → frames

Cut on the music's rhythmic grid, not on arbitrary timecodes. Convert BPM to frames so cut points are frame-accurate.

frames_per_beat = (60 / BPM) * fps

At 120 BPM, 30 fps: (60/120)*30 = 15 frames per beat (500ms/beat) — a cut every 15 frames is on-beat. Cut on phrases (every 2/4/8 beats), not every beat, or the edit feels frantic. Land the single biggest visual moment on the musical drop.

The eighth-grid: subdivisions of the beat give finer accent points without going off-grid. At 120 BPM / 30 fps:

Subdivisionmsframes @30fpsUse
1 beat (quarter)50015main cut grid
½ beat (eighth)2507.5accent / quick flash cut
¼ beat (sixteenth)1253.75hits, stutter, transient FX
1 bar (4 beats)200060phrase / section boundary

Snap accents to the eighth-grid; keep structural cuts on the beat or bar.

js
// Generate on-beat frame numbers (JS / Remotion / AE-friendly)
const bpm = 120, fps = 30;
const framesPerBeat = (60 / bpm) * fps;       // 15
const phrase = 4;                              // cut every 4 beats
const cuts = Array.from({length: 16}, (_, i) =>
  Math.round(i * framesPerBeat * phrase));     // [0,60,120,180,...]

2. Hide the seam: cut on action / motion

A cut is invisible when motion carries the eye across it. Cut during a movement (a turn, a hand reaching, a whip) so the brain tracks the action through the cut. Match the motion's direction and speed across the cut. For motion-graphics, cut on a transform peak — at the moment a shape is mid-travel, not at rest.

3. Choose transitions with intent

Default to the hard cut. Reach for anything else only when motivated:

  • Match cut — outgoing and incoming frames share a shape, position, or motion vector, so the cut reads as a transformation (a circle becomes the moon; a wipe of an arm reveals the next scene). The strongest transition in motion design.
  • J-cut — audio of the next shot starts before its picture (sound leads). Pulls the viewer forward; great for dialogue and reveals.
  • L-cut — audio of the current shot continues under the next picture (sound trails). Smooths scene changes.
  • Whip / motion blur transition — fast pan blends two shots; needs matched blur direction.
  • Luma/wipe/dissolve — signals time passing or a softer mood; overuse reads as amateur.

Cut-type quick table:

Cut typeWhat alignsSignalsTypical offsetReach for it when
Hard cutnothing — instantneutral, default090% of cuts
Match cutshared shape / position / motion vectortransformation0 (1–2f tolerance)two shots rhyme visually
J-cutaudio of B leads its picturepulls viewer forwardaudio 4–12f earlydialogue, reveals
L-cutaudio of A trails under Bsmooths the changeaudio 12–24f latescene changes, ambient
Whip / motion blurmatched blur direction across panenergy, "swoosh"~6–10f blendhype, scene jumps
Speed rampretime, not a cutimpact / emphasislands on beata hit needs to land

4. Retime: speed ramps

Speed ramps (gradual time-warp) add impact: ramp into a hit with slow-motion, then snap back to speed. Keep motion blur consistent through the ramp or the slow section looks strobed.

Speed ramp on an impact (frames, 30fps):
  0–20    100% speed   (run-up)
  20–28   ease down to 25%  (anticipation, slow-mo on the hit)
  28      IMPACT lands on the beat
  28–40   ease back to 100% (release)

In an NLE use time-remap keyframes with smooth interpolation and enable frame-blending/optical-flow for clean slow-mo. In Remotion/AE, drive a timeRemap/valueAtTime curve with eased interpolation and keep a consistent shutter/motion-blur setting.

5. Shape the arc: sequence pacing

A piece needs a shape, not one constant intensity:

Establish → Develop → Climax → Resolve
  longer holds   shortening cuts   fastest + the drop   release/breathe

Vary shot length deliberately: fast cuts build energy, longer holds let key moments land. Build toward the climax by shortening average shot length, then give a beat of rest after it. The classic mistake is uniform pacing — it reads as flat regardless of content.

Pacing arc — tension → release (energy is the derivative of cut frequency):

PhaseCut everyAvg shot lengthTensionNote
Establish8–16 beatslongestlowset place/mood, let it breathe
Develop8 → 4 beatsshorteningrisingaccelerate cuts to build
Climax1–2 beatsshortestpeakthe drop; biggest visual + speed ramp
Resolveone long holdlongestreleaselogo/CTA breathes after the peak

Quick reference

GoalMove
On-beat cut(60/BPM)*fps frames per beat; cut on phrases
Land the dropbiggest visual on the musical drop
Invisible cutcut on action / matched motion
Transform feelmatch cut (shared shape/motion)
Pull forwardJ-cut (audio leads)
Smooth scene changeL-cut (audio trails)
Impactspeed ramp into the hit, snap out
Build energyshorten average shot length
Let it breathehold after the climax

Worked examples

GOOD — 30s energetic product spot, 128 BPM, 30 fps

Brief: hype sneaker drop, Energetic personality, drop at beat 32.

  • Grid: 14.06 f/beat. Drop = beat 32 ≈ frame 450 (rounded cumulatively to avoid drift).
  • Arc: Establish 0–120 (two 2s holds). Develop 120–450 (cuts shortening 8→4→2 beats, rising energy — matches Energetic). Climax at 450 (the drop). Resolve 700–900 (one long CTA hold).
  • Cuts: structural cuts on the bar; two accent flash-cuts snapped to the eighth-grid in Develop.
  • Craft: f112 is a match cut (shared circular logo → wheel). The drop at 450 carries the biggest visual and a speed ramp 100%→25%→100% landing the slowest frame on the downbeat. CTA enters under an L-cut (audio trails ~18f).
  • To code: each cut a frame number, each clip <Sequence from/durationInFrames>, ramp = eased time-remap, beats verified frame/fps against detected beat seconds.

Why it works: phrase-based grid, an arc, one big moment on the drop, motivated transitions, frame-accurate and portable.

ANTI-PATTERN — "cut on every beat with a dissolve each time"

  • A hard cut on all 32 beats → relentless, no focal moment, viewer fatigues by beat 8.
  • A 12-frame crossfade on every cut to "smooth it" → mushy, amateur, and now nothing is on the beat because the dissolve midpoint drifts off-grid.
  • Uniform 15-frame shots start to finish → flat; no establish, no climax, the drop lands on nothing.
  • BPM math done from frame 0 ignoring the track's offset → every cut sits a few frames early, feels "almost right" but wrong.

Fix: cut on 4/8-beat phrases, hard cut by default, build an arc, anchor the grid to beat-1 offset, and put the one biggest visual on the drop.

Common mistakes

SymptomWhyFix
Edit feels frantic / busycutting on every beatcut on 2/4/8-beat phrases; accent on the eighth-grid sparingly
Cuts feel "almost on beat"grid started at 0:00, ignored track offsetcapture beat-1 offset; anchor cumulative frame math to it
Drift over a long editrounding frames_per_beat per stepround each cumulative beat, not per-step
Cut feels jarringplaced at rest, between motionscut on action / mid-motion; match direction + velocity
Slow-mo strobessub-100% speed without interpolated framesenable optical-flow / frame-blending; consistent shutter
Whole piece feels flatuniform pacingshape Establish→Develop→Climax→Resolve; shorten toward the drop
Transitions look amateurdissolves/wipes used as a crutchdefault to hard cut; motivate match/J/L; fix timing first
Nothing landsno single climaxput the biggest visual on the drop; hold after it

Deliverable — an edit-timing plan

A good plan is renderer-agnostic and hands off to an NLE or a code timeline (remotion-video, after-effects):

  • Track spec: BPM, fps, beat-1 offset, drop frame(s), frames_per_beat.
  • Arc: the four phases with frame ranges and target average shot length per phase.
  • Cut list: every cut as an absolute frame number (from the BPM math), the clip at that cut, and the cut type.
  • Transitions: type (hard/match/J/L/whip), and for J/L the audio offset in frames.
  • Retimes: each speed ramp as eased time-remap keyframes (from→to %, frames, optical-flow on).
  • Beat markers: the on-beat/eighth-grid frame array for verification.
  • Cross-refs: the Motion Personality that set the rhythm.

For Remotion/AE this plan IS the frame timing: cuts → from/durationInFrames (or layer in/out), ramps → eased interpolate/time-remap, J/L → offset <Audio from> / audio layer. See references/editing-techniques.md for the NLE↔code mapping table.

Before you finish — checklist

  • BPM + fps + beat-1 offset captured; frames_per_beat computed and cumulatively rounded.
  • Cuts on phrases (2/4/8 beats), not every beat; accents on the eighth-grid only.
  • The single biggest visual lands on the drop.
  • An arc exists (Establish→Develop→Climax→Resolve); avg shot length shortens toward the climax, then a hold.
  • Hard cut is the default; every other transition is motivated; J/L audio offsets specified in frames.
  • Speed ramps land the slowest frame on the beat; optical-flow/frame-blending enabled.
  • Cut rhythm matches the chosen Motion Personality.
  • Every cut, transition, and retime expressed as a frame number / from-duration so it ports to Remotion/AE/NLE.
  • Audio sync verified: frame/fps against detected beat seconds.

Gotchas

  • Cutting on every beat is busy; cut on 2/4/8-beat phrases and accent sparingly.
  • Speed ramps without consistent motion blur look strobed; enable optical-flow/frame-blending for slow-mo.
  • Crossfades/dissolves are not a fix for a bad cut — fix the timing first.
  • Audio sync drift: in code timelines verify frame/fps against detected beat seconds; in NLEs lock audio to a frame-accurate guide track.
  • One pacing throughout = flat. Always shape an arc.

Reference files

  • references/editing-techniques.md — BPM→frame math with phrase tables, cut-on-action breakdowns, building a match cut step by step, J-cut/L-cut audio-lead/trail diagrams with frame offsets, full speed-ramp recipe with motion-blur/optical-flow settings, sequence-arc templates with shot-length curves, and mapping an edit plan between an NLE timeline and a code timeline (Remotion <Sequence> / AE time-remap).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Beat Sync Editing làm được gì?

This skill should be used when the user asks to "cut to the beat", "fix the pacing", "edit this sequence", "sync cuts to music/BPM", "add a match cut / J-cut / L-cut", "build a speed ramp", or "plan a shot sequence / edit timeline". Covers editing rhythm, transitions, retiming, and translating an edit plan to an NLE or a code timeline (Remotion/AE frames).

Vì sao nên dùng Beat Sync Editing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Beat Sync Editing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Beat Sync Editing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/iart-ai/motion-design-skills/tree/main/skills/beat-sync-editing. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Beat Sync Editing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Beat Sync Editing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Beat Sync Editing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Beat Sync Editing có miễn phí không?

Có. Kỹ năng này được iart-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇