Duplicate Pattern Data
pattern_duplicate_dataDoubles all notes and step data inside a 1-based pattern in place, extending its length so you can edit the newly created second half.
Instructions
Repeat all notes and step data inside a 1-based pattern, doubling its length in place.
Use to turn a 2-bar pattern into a 4-bar pattern before editing the second half;
use pattern_clone to copy a pattern into a separate pattern slot, or
piano_roll_duplicate to duplicate notes on a single channel only. Undoable with
project_undo; requires FL Studio 2026+ (ok=False on older builds).
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": {
"index": "<index>"
},
"name": "pattern_duplicate_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | 1-based pattern index whose notes and steps will be doubled in place. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||