mcp_opendaw_set_region_loop
Set loop length, offset, and event offset for a note region to repeat patterns within a track.
Instructions
Set loop parameters for a note region.
Looping repeats the note pattern within the region. The region duration can be longer than the loop, causing the notes to repeat.
loop_beats: Loop length in beats (e.g. 4.0 = 1 bar in 4/4). Set to 0 to disable loop. loop_offset_beats: Offset within the event collection where the loop starts. event_offset_beats: Offset added to all note positions. unit_index: Audio unit index (-1 = search all AUs). track_index: Track index within the AU. region_index: Region to modify (0-based).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop_beats | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | Yes | ||
| loop_offset_beats | Yes | ||
| event_offset_beats | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |