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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position_ppqn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |