Skip to content

Commit 9ac35e8

Browse files
committed
docs(skills): the beats reference says a file argument is analysed directly
1 parent 4973036 commit 9ac35e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎skills-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"files": 77
1111
},
1212
"hyperframes-cli": {
13-
"hash": "0f04eecc7db86c68",
13+
"hash": "39cd0ac2d95764aa",
1414
"files": 13
1515
},
1616
"hyperframes-registry": {

‎skills/hyperframes-cli/references/beats.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ npx hyperframes beats ./my-video
88
npx hyperframes beats ./my-video --json
99
```
1010

11-
`beats` takes the project folder, never a media file. For the beats of one audio or video file, run `npx hyperframes audio <file> --only beats --json`.
11+
Given an audio or video file instead of a folder (`npx hyperframes beats music.mp3 --json`), `beats` analyses that file and prints `{ ok, file, count, bpm, beatTimes }`; it writes nothing.
1212

1313
The project must contain a local music `<audio>` source. Mark it with `data-timeline-role="music"`; an id containing `music`, `bgm`, or `soundtrack` is also recognized. The command decodes that file with ffmpeg, tracks its beats, and writes `beats/<audio-relative-path>.json`.
1414

0 commit comments

Comments
 (0)