Quantize piano-roll notes
fl_quantize_patternQuantize note starts and optionally lengths to the grid in the open Piano roll, snapping to a specified grid size without dialog.
Instructions
Quantize the notes ALREADY in the open Piano roll: reads the score, snaps note starts (and optionally lengths) to the grid, rewrites -- via the pyscript bridge, no dialog. Needs the Piano roll open + MCP_Apply armed once this session (same setup as note writing).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fl_quantize_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid_bars | No | Snap grid in bars: 0.0625=1/16, 0.125=1/8, 0.25=1/4. | |
| snap_ends | No | Also snap note lengths to the grid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||