Beat grid
beat_gridCalculate a synthetic constant-tempo beat/downbeat grid and snap proposed cut times while preserving exact start/end. Supply phase explicitly; BPM alone cannot recover an audio file’s real timing.
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": {
"bpm": "<bpm>",
"duration_ms": "<duration_ms>"
},
"name": "beat_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | ||
| cuts_ms | No | ||
| phase_ms | No | ||
| structure | No | ||
| duration_ms | Yes | ||
| beats_per_bar | No | ||
| cut_every_beats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_version | Yes |