quantize_clip
Quantize MIDI notes to a target grid, controlling the snap strength from slight correction to full alignment.
Instructions
Quantize MIDI notes in a clip. quantize_to: target grid in beats (0.0625=64th, 0.125=32nd, 0.25=16th, 0.5=8th, 1.0=quarter) amount: 0.0=no quantize (original), 1.0=full snap to grid, 0.5=halfway
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>",
"slot_index": "<slot_index>"
},
"name": "quantize_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| slot_index | Yes | ||
| quantize_to | No | ||
| amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |