swing_clip
Delays off-beat 8th or 16th notes in a Session MIDI clip by a grid-relative amount to add groove or triplet feel. For Ableton Live's own grooves, use set_clip_groove.
Instructions
Swing a Session MIDI clip: delay off-beat 8ths (or 16ths) by amount (0..1 of the grid; 0.33 ≈ triplet feel). For Live's own grooves use set_clip_groove.
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": "swing_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | 1/8 | |
| amount | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |