set_clip_warp
Change an audio clip's warp settings and sync loops to song tempo by supplying the loop's original BPM; omitted settings remain unchanged.
Instructions
Change an audio clip's warp settings; anything left out stays as it is. Give a loop's own tempo as original_bpm (sample names often carry it, "...131...") and it follows the song tempo: warping goes on and the warp markers are rebuilt for that tempo.
Parameters:
track_index: An audio track
clip_index: Session slot, or position in get_arrangement_clips
location: "session" (default) or "arrangement"
warping: Warp on or off
warp_mode: "beats" (drums), "tones" (monophonic), "texture", "re_pitch" (vinyl-like), "complex" / "complex_pro" (full mixes), or 0–6
original_bpm: The loop's own tempo
pitch_coarse: Transposition in semitones (−48…48)
pitch_fine: Detune in cents (−50…50)
gain: Clip gain 0.0–1.0 (the reply shows it in dB)
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "set_clip_warp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gain | No | ||
| warping | No | ||
| location | No | session | |
| warp_mode | No | ||
| clip_index | Yes | ||
| pitch_fine | No | ||
| track_index | Yes | ||
| original_bpm | No | ||
| pitch_coarse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |