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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| clear_first | No | ||
| channel | No | ||
| pattern | No |