mcp_opendaw_duplicate_region
Duplicate audio, note, or value regions in a DAW by specifying unit, track, and region indexes. Optionally find first available gap on any track to avoid overlaps.
Instructions
Duplicate any region (audio, note, or value) using the DAW's built-in duplicateRegion API.
Places the copy right after the original. With find_free_space=True, scans for the first available gap on any track (auto-resolves overlaps). Without it, places on the same track at the original's end position.
unit_index: Audio unit index (-1 = search all AUs). track_index: Track index within the AU. region_index: Region to duplicate (0-based). find_free_space: If True, find the first free space on any track. If False, place directly after the original on the same track.
Returns the new region's position and index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | Yes | ||
| find_free_space | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |