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