fl_piano_roll_notes
Adds notes directly to a channel's Piano Roll with per-note number, time, length, and velocity in FL Studio ticks, letting you build or clear MIDI patterns programmatically.
Instructions
Add notes directly to a channel's Piano Roll (each note: number, time, length, velocity).
Times and lengths are in FL Studio ticks (96 PPQ default, 24 = 16th note, 96 = quarter note).
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": {
"index": "<index>",
"notes": "<notes>"
},
"name": "fl_piano_roll_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| notes | Yes | ||
| clear_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||