analyzeAudioRhythm
Extract BPM, beat grid, drum onsets, impact points, energy, and song sections from audio or video to align VFX, camera cuts, and text animations to music.
Instructions
Extract exact BPM, beat grid, 4/4 downbeats, sub-band drum onsets (Kick 20-150Hz, Snare 150-2500Hz, Hi-Hat 2500-10500Hz), major impact points, energy envelope, and structural sections (Intro / Buildup / Climax Drop / Outro) from an audio or video file to help align VFX, camera cuts, and text animations to music.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audioPath": "<audioPath>"
},
"name": "analyzeAudioRhythm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxBpm | No | Maximum BPM search bound (default: 190) | |
| minBpm | No | Minimum BPM search bound (default: 70) | |
| endTime | No | Optional end time in seconds to analyze | |
| audioPath | Yes | Absolute or relative path to the audio or video file (.mp3, .wav, .flac, .m4a, .mp4) | |
| startTime | No | Optional start time in seconds to analyze | |
| sensitivity | No | Drum onset detection sensitivity from 0.1 to 1.0 (default: 0.55) |