quantize_midi_item
Align MIDI note positions in an item's active take to a specified quarter-note grid for precise timing. Pass grid_qn like 0.25, 0.5, or 1.0.
Instructions
Quantize note positions in the active MIDI take of the item at (track_index, item_index) to grid_qn quarter notes. Pass 0.25 for 16th-note grid, 0.5 for 8ths, 1.0 for quarters.
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>",
"item_index": "<item_index>",
"grid_qn": "<grid_qn>"
},
"name": "quantize_midi_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid_qn | Yes | ||
| item_index | Yes | ||
| track_index | Yes |