Skip to content

Commit 5d1bff5

Browse files
fix: unblock music video ci checks
1 parent 4a8e2f1 commit 5d1bff5

4 files changed

Lines changed: 31 additions & 14 deletions

File tree

registry/examples/warm-grain/compositions/graphics.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@
5151
height: 500px;
5252
background-color: #3b5e3a;
5353
border-radius: 50%;
54-
left: 1400px;
55-
top: 540px;
56-
transform: translate(-50%, -50%);
54+
left: 1150px;
55+
top: 290px;
5756
}
5857

5958
[data-composition-id="graphics"] .stat-content {
@@ -77,9 +76,8 @@
7776
height: 220px;
7877
background-color: #cc8832;
7978
border-radius: 110px;
80-
left: 960px;
81-
top: 200px;
82-
transform: translate(-50%, -50%);
79+
left: 710px;
80+
top: 90px;
8381
}
8482

8583
/* Moment 3: Terracotta Rounded Rect */
@@ -88,9 +86,8 @@
8886
height: 180px;
8987
background-color: #c45d3e;
9088
border-radius: 40px;
91-
left: 400px;
92-
top: 540px;
93-
transform: translate(-50%, -50%);
89+
left: 85px;
90+
top: 450px;
9491
padding: 0 40px;
9592
justify-content: center;
9693
gap: 30px;

registry/examples/warm-grain/compositions/intro.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ <h1 class="title">Hyperframes</h1>
2626
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
2727
text-align: left;
2828
opacity: 0;
29-
transform: translateX(-100%); /* Start off-screen left */
3029
}
3130

3231
[data-composition-id="intro"] .title {
@@ -53,11 +52,15 @@ <h1 class="title">Hyperframes</h1>
5352
const tl = gsap.timeline({ paused: true });
5453

5554
// Animation: Speaker card slides in from the left
56-
tl.to(
55+
tl.fromTo(
5756
'[data-composition-id="intro"] .title-card',
57+
{
58+
opacity: 0,
59+
xPercent: -120,
60+
},
5861
{
5962
opacity: 1,
60-
x: 0,
63+
xPercent: 0,
6164
duration: 0.8,
6265
ease: "power2.out",
6366
},
@@ -68,7 +71,7 @@ <h1 class="title">Hyperframes</h1>
6871
tl.to(
6972
'[data-composition-id="intro"] .title-card',
7073
{
71-
x: "-120%",
74+
xPercent: -120,
7275
opacity: 0,
7376
duration: 0.6,
7477
ease: "power2.in",

skills/music-to-video/SKILL.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ Goal: Produce the one canonical timing analysis the whole video is built on.
4848

4949
`analyze-beatgrid.py` is the **only** beat analyzer — never re-measure beats with another tool or by ear. It reads the track once and writes `audiomap.json`: energy phases (level / density / feel), onsets + `onset_rate`, rolls, silences, `hard_stops`, `key_moments`, phrases, tempo / grid, and `audio.duration_sec`. It's deterministic — the same file always gives the same map. Most fields are reliable on any music; `bpm` and `beats_sec` are reliable only when the music is genuinely rhythmic, and judging that is the call you make at Step 2.
5050

51+
Prerequisites: Python 3 with `librosa`, `numpy`, and `soundfile` available. If import fails, install them into the active Python environment before running the analyzer:
52+
53+
```bash
54+
python3 -m pip install librosa numpy soundfile
55+
```
56+
5157
```bash
5258
python3 <SKILL_DIR>/scripts/analyze-beatgrid.py "$PROJECT_DIR/assets/bgm.mp3" \
5359
-o "$PROJECT_DIR/audiomap.json" --print
@@ -185,7 +191,7 @@ music-to-video/
185191
references/ frame-skeleton.md · planning.md · storyboard-format.md
186192
template-catalog.md · motion-primitive-catalog.md · montage.md
187193
templates/<id>/ { index.html (+ assets/ · program.json) } ← L1 catalog impls
188-
motion-primitives/<id>/ { index.html } (+ shared assets/gsap.min.js) ← L0 catalog impls
194+
motion-primitives/<id>/ { index.html } (+ ../assets/gsap.min.js shared by recipes) ← L0 catalog impls
189195
scripts/ analyze-beatgrid.py · assemble-index.mjs · validate-plan.mjs · stage-assets.mjs · lib/storyboard.mjs
190196
sub-agents/ frame-worker.md ← the one subagent (one per frame)
191197
```

skills/music-to-video/references/motion-primitives/assets/gsap.min.js

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)