piano_roll_add_notes
Add notes to a FL Studio channel's piano roll by specifying MIDI number, timing, duration, velocity, and optional pan. Works without MIDI input and opens the piano roll automatically.
Instructions
Add notes to a channel's piano roll (works WITHOUT MIDI).
notes: list of {midi: int, time_bars: float, duration_bars: float,
velocity: 0..1, pan?: -1..1}.
If channel is given and the TCP (MIDI) bridge is online, that channel's
piano roll is opened automatically. Otherwise, before calling, make sure:
In FL Studio, open the target channel's piano roll (double-click the channel in the Channel Rack).
Pick
ComposeWithLLMfrom the piano-roll scripts dropdown.
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": {
"notes": "<notes>"
},
"name": "piano_roll_add_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| clear_first | No | ||
| channel | No | ||
| pattern | No |