quantize_clip
Quantize notes in a clip by snapping start times to a selected grid. Specify track, clip, and grid size (1/4 to 1/32) to correct timing.
Instructions
Quantize all notes in a clip to a grid by snapping each note's
start_time to the nearest grid line.
Parameters:
grid: "1/4" | "1/8" | "1/16" | "1/32"
Implementation: read existing notes, round start times, then in one batch remove the old notes and write the new ones. The whole edit is atomic from Live's perspective.
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": "quantize_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| grid | No | 1/16 |