mcp_opendaw_create_time_stretched_region
Creates a time-stretched audio region synced to the project tempo, using warp markers and a playback rate to match the musical grid.
Instructions
Place a time-stretched audio region on a track.
Unlike place_audio_region (which uses TimeBase.Seconds), this creates a musically-timed region with warp markers. Audio plays back at a different speed while staying in sync with the project tempo.
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). playback_rate: Rate multiplier (1.0 = original, 0.5 = half-speed, 2.0 = double). transient_mode: "once", "repeat", or "pingpong" (default). bpm: Source BPM of the sample (for warp marker calculation).
Returns position, duration in PPQN, and playback rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | ||
| sample_id | Yes | ||
| start_beat | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| playback_rate | Yes | ||
| transient_mode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |