Analyze song
analyze_songAnalyze local audio or video files to detect BPM, musical key, and Camelot code. Find the most energetic 15s and 30s clips for TikTok, Reels, and Shorts.
Instructions
Detect the BPM (tempo), musical key, Camelot code, bar length and duration of a local audio or video file, and find the most energetic 15 s and 30 s windows (usually the chorus or drop, good clips for TikTok, Reels and Shorts). Runs locally with ffmpeg.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an MP3, WAV, M4A, FLAC, OGG or video file | |
| maxTempo | No | Highest BPM to report (default 180) | |
| minTempo | No | Lowest BPM to report (default 70) |