mcp_opendaw_get_bar_interval
Find the bar interval for any PPQN position. Returns bar start, end, length, and time signature for snapping regions, clips, and events to bar boundaries.
Instructions
Get the start and end PPQN of the bar containing the given position.
Useful for snapping regions, clips, and events to bar boundaries.
position_ppqn: Position in PPQN.
Returns bar_start (ppqn), bar_end (ppqn), bar_length (ppqn), and time signature.
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": {
"position_ppqn": "<position_ppqn>"
},
"name": "mcp_opendaw_get_bar_interval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position_ppqn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |