mcp_opendaw_create_pitch_stretched_region
Create a pitch-stretched audio region on a track, preserving timing while allowing pitch manipulation via warp markers to tune audio to the project key.
Instructions
Place a pitch-stretched audio region on a track.
Pitch-stretch preserves the original timing but allows pitch manipulation via warp markers. Use this when you want to tune audio to project key without changing its duration.
sample_id: The ID returned by mcp_opendaw_load_audio. unit_index: Audio unit index (default 0). start_beat: Beat position to place the region. track_index: Track index within the audio unit (default 0). bpm: Source BPM of the sample (for warp marker calculation).
Returns position and duration in PPQN.
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": {
"sample_id": "<sample_id>",
"unit_index": "<unit_index>",
"start_beat": "<start_beat>",
"track_index": "<track_index>",
"bpm": "<bpm>"
},
"name": "mcp_opendaw_create_pitch_stretched_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | ||
| sample_id | Yes | ||
| start_beat | Yes | ||
| unit_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |