mcp_opendaw_get_bar_interval
Retrieve the start and end PPQN of the bar containing a given position to snap 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position_ppqn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |