piano_roll_add_notes
Insert notes into FL Studio's open piano roll by specifying MIDI pitch, time, duration, and velocity. Enables programmatic composition without requiring MIDI input.
Instructions
Add notes to the currently-open piano roll (works WITHOUT MIDI).
notes: list of {midi: int, time_bars: float, duration_bars: float,
velocity: 0..1, pan?: -1..1}.
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 |