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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| grid | No | 1/16 |