beat_grid
Analyzes audio or video files to estimate BPM, beat positions, downbeat, and onset strengths, enabling beat-synced cuts in video editing.
Instructions
Estimate tempo (BPM), beat times, a downbeat guess, and onset strengths. Uses librosa when available, else an approximate energy-envelope fallback.
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": {
"audio": "<audio>"
},
"name": "beat_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | Path to an audio or video file. |