Communitygithub.com

lhg-plugs/lhg-motion-video

Motion audio & music methodology: BGM triage, beat alignment, SFX peak alignment, loudness -14 LUFS. Finalize your mixing plan before mixing.

What is lhg-motion-video?

This skill defines a structured workflow for designing audio and music for motion graphics videos. It covers the entire audio chain: selecting background music (BGM) from three permissible sources (self-made, licensed, or platform free libraries), aligning music peaks to the beat grid defined in the project brief, placing sound effects (SFX) precisely at animation peaks (not at the start of transitions), and applying professional mixing levels including ducking and loudness normalization to -14 LUFS for short-form video platforms. The skill provides actionable rules: choose BGM first by BPM matching the beat grid (prioritize tempo over 'sounding nice'), align cues within ±0.1 seconds, keep SFX density to ≤8 per 30-second clip, and always verify loudness with a meter rather than by ear. It includes a pre-export checklist, anti-patterns (e.g., never use hot songs from the internet), a FAQ, and a self-check procedure. Aimed at video editors, motion designers, and AI agents automating video production, it works with any multi-track audio tool that supports waveform viewing and LUFS normalization. The skill is authored by Liu Hongguang from Hefei, Anhui, and is open-source under the lhg-skills organization.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/lhg-plugs/lhg-motion-video/tree/HEAD/skills/lhg-mv-audio

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

lhg-mv-audio: Music & Sound Effects

Goal: The climax of the music and the climax of the picture hit the same beat. Core Discipline: First, have the beat grid, then choose the music; align sound effects to peaks, never place by feel.

1. When to Use

  • Select BGM: Follow Section 3.1 for triage
  • Create a mixing plan: Follow Sections 3.2–3.4
  • Transition feels weak: Check Section 3.3 for SFX placement
  • Before exporting: Follow Section 3.5 for loudness

2. Input / Output

Input: Beat grid from brief.md + rendered silent video (or scene duration table).

Output: Three-track list (Music/SFX/Voiceover) + mixing parameters + loudness confirmation.

3. Step-by-Step Methodology

3.1 BGM Triage (Copyright is a Red Line)

  1. Self-made: Hum + simple arrangement, or use code to synthesize a backing track. Unique, zero copyright risk.
  2. Licensed: Buyout library music, keep proof of license.
  3. Platform Free Library: Note license scope (commercial/attribution), take a screenshot when downloading.

"Hot song downloaded from the internet" is not a source. Using it = laying a mine; if it blows = takedown + claim.

Selection criteria: BPM matches beat grid (priority, then "sounds nice"); emotional curve syncs with "preparation → impact → recovery"; first 3 seconds have a hook (short-video viewers swipe away after 3 seconds).

3.2 Beat Alignment: Music Cue Construction Method

  1. Find energy peaks: Use audio tools to view waveform/energy curve, mark music drop and heavy beats.
  2. Match table: Align music peaks with key timings from the brief's beat grid—cut transitions on heavy beats, lock slogan on drop.
  3. 1 second off = wasted: Human ears are extremely sensitive to A/V sync lag; ±0.1 seconds is the passing line. If alignment fails, swap BGM—don't force it.

3.3 SFX: Align to Peaks

  • Place transition whoosh, clicks, pop sounds at the peak of the transition (the frame where animation speed is fastest), not at the beginning.
  • Volume: SFX 3–6 dB louder than BGM, 3 dB quieter than voiceover—sound effects are condiments, not the main course.
  • Density: In a 30-second clip, no more than 8 SFX; more than that sounds like an arcade.

3.4 Three-Track Mixing

TrackContentVolume Relationship
Voiceover (if any)Human voiceTop priority, always clear
SFXTransition/emphasis sounds3 dB below voiceover
BGMBackground musicDuck 6–10 dB when voiceover is active

Ducking discipline: When there is voice, music automatically yields; when there is no voice, music returns. A single volume for the whole track = amateur.

3.5 Loudness: -14 LUFS

  • Short-video/streaming platform convention target -14 LUFS (podcasts are -16, don't mix them).
  • Workflow: Three-track mix → normalize loudness to -14 LUFS → limit to prevent clipping (peak -1 dBTP).
  • If deviation is too large, the platform will re-normalize, causing volume to fluctuate—so deliver to standard, not "I think it's loud enough."

3.6 Voiceover Special: Narration Videos

  1. Write voiceover script first: Write per storyboard, mark duration for each line. Normal Chinese speaking rate ≈ 0.3 seconds/character; for a 60-second video, the script is about 180–200 characters.
  2. Lock storyboard after voiceover is finalized: If voiceover duration changes, scene distribution changes accordingly. Order is "script → audio → picture," not the reverse.
  3. Alignment: Place each voiceover line's end point into the beat grid; key lines (e.g., price) land on heavy beats.
  4. Recording: Reference podcast recording guidelines (small room, 20 cm from mouth, -16 LUFS recording level). Don't skimp on voiceover.

3.7 Mixing Checklist (Check Before Export)

  • Three-track volume relationship: Voiceover > SFX (3 dB lower) > BGM (after ducking)
  • Ducking: Music lowered 6–10 dB when voice is active, recovers when silent
  • SFX density: ≤8 per 30-second clip, all placed at transition peaks ±0.1s
  • Loudness meter confirms -14 LUFS, peak not exceeding -1 dBTP
  • Listen to first 3 seconds + last 3 seconds separately: no pops, no abrupt cuts
  • BGM license proof archived (screenshot/purchase receipt)

3.8 One-Liner Reference (Stick on Monitor)

StepOne Liner
Track selectionBPM matches beat grid first, "sounds nice" second
Cue alignmentCut transitions on heavy beats, lock slogan on drop, error ±0.1 sec
SFXPlace at transition peaks, ≤8 per 30-second clip
MixingVoiceover first, SFX 3 dB lower, BGM duck 6–10 dB
LoudnessDeliver -14 LUFS, not by feel
CopyrightTriage: self-made / licensed / free library, archive proof

4. Anti-Patterns

  • ❌ Choose a "nice" BGM first and then try to fit beats—order is reversed, cues will never align
  • ❌ Use a hot song directly—copyright risk; if it blows, the whole video is taken down
  • ❌ Place SFX by feel—10 random SFX are worse than 1 placed on a peak
  • ❌ Single volume for BGM throughout—voiceover drowned out by music, audience only remembers "noise"
  • ❌ Judge loudness by ear—deliver at -14 LUFS; this is a standard, not an aesthetic choice

5. FAQ

Q: Can't find free BGM with suitable BPM? A: Two options: use a tempo/pitch tool to tweak BPM slightly (within ±5 is inaudible), or rearrange the beat grid to match the BGM. Don't force it.

Q: No voiceover, only music + subtitles? A: That's fine; subtitles are the voiceover. Arrange subtitle rhythm at "4–5 characters per second" and check alignment with the beat grid.

Q: Free SFX sources? A: Same triage as BGM. Note: many "free sound effect packs" prohibit commercial use—take a screenshot of the download page.

Q: Recommended mixing software? A: Not tied to specific software—look for: multi-track, waveform display, LUFS normalization. Start with a free tool to get the workflow down.

Q: Client insists on using a specific pop song? A: Write the risk (takedown + claim borne by client) into the brief's confirmation list. Once it's in writing, they usually change their mind.

Q: Video is 15 seconds—still need a beat grid? A: Yes. 15 seconds at 120 BPM = 30 beats; the grid is even denser. Shorter videos have less tolerance for misalignment.

Q: Subtitles only, no voiceover—how to set rhythm? A: Subtitles are the voiceover. Arrange at 4–5 characters per second, key sentences land on heavy beats. Set subtitle timeline first, then animate.

Q: After export, music is shorter than the video? A: If BGM length is insufficient, loop the backing (find loop points) or switch to a longer version—don't stretch and change pitch. During mixing, decide total music length first, then set the -shortest strategy.

6. Self-Check & Feedback

Self-check after mixing plan completion:

  1. Is the BGM source from one of the three permissible categories with proof?
  2. Are music peaks aligned with beat grid key timings (±0.1s)?
  3. Are SFX placed at transition peaks? Density ≤8 per 30 seconds?
  4. Ducking applied? Loudness -14 LUFS confirmed?

Standard smoke test: Given a 120 BPM BGM description + storyboard table, verify the output includes a peak alignment table, three-track volume relationship, and loudness target.

Feedback: Submit with title [QC] <one-line question> to https://github.com/lhg-plugs/lhg-motion-video/issues, body includes "Input → Wrong Output → Expected Output."

Produced by: Liu Hongguang

This skill is produced by real-person IP "Liu Hongguang" (Hefei, Anhui) and belongs to lhg-skills.

  • GitHub Homepage: https://github.com/lhg-skills — all skills open-source here, welcome to star
  • Video Channel: Search "Liu Hongguang Shining Online"
  • WeChat: lhgsmsw

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

Related Skills