quantize_clip
Quantize MIDI clip notes to a selected grid division with adjustable snap strength.
Instructions
Quantize a MIDI clip's notes to a grid.
Parameters:
track_index / clip_index: which clip
grid: 1=1/4, 2=1/8, 3=1/8T, 4=1/8+T, 5=1/16 (default), 6=1/16T, 7=1/16+T, 8=1/32
amount: 0.0-1.0 strength (1.0 = hard snap; 0.5 keeps half the human feel)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| amount | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |