quantize_clip
Quantize MIDI clip notes to a selected grid (quarter, eighth, triplet, sixteenth, etc.) with an adjustable amount to control snap strength.
Instructions
Quantize a MIDI clip. grid: quarter/eighth/eighth_triplet/sixteenth/sixteenth_triplet/thirtysecond. amount 0.0-1.0 (use <1.0 to humanize toward the grid without full snap).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | sixteenth | |
| amount | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |