pattern_create
Creates an FL Studio pattern by finding the first empty slot, selecting it, then setting its name, length, and optional color with step-by-step verification.
Instructions
Create a pattern: find the first empty one, select it, name it, and size it.
Requires write mode. Searches from start_pattern_number for a pattern FL
reports as empty, then selects it and sets its name, optional color, and
length, verifying each step. outcome names the first step that did not
verify. Use pattern_set to change an existing pattern. Does not save.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new pattern. | |
| color | No | Optional FL color word. | |
| length_beats | No | Pattern length in beats. | |
| start_pattern_number | No | First pattern number to search for an empty one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| outcome | Yes | ||
| identity | No | ||
| verified | Yes | ||
| warnings | No | ||
| selection | Yes | ||
| applied_at | Yes | ||
| project_saved | No | ||
| pattern_number | Yes | ||
| schema_version | No | 1.0 | |
| one_session_target | Yes | ||
| rollback_attempted | No | ||
| automatic_replay_attempted | No | ||
| pattern_was_reported_empty | No |