Add Piano Roll Arpeggio
piano_roll_add_arpeggioAppend a sequenced arpeggio built from explicit MIDI pitches to a Piano Roll, controlling direction, step timing, repeats, velocity, and note duration without clearing existing notes.
Instructions
Append a sequenced arpeggio built from explicit MIDI pitches directly into a Piano Roll.
Use when you already have exact MIDI pitches; prefer gen_emit_arpeggio to generate
an arpeggio automatically across a named key, scale, and chord progression. Appends
without clearing existing notes; verify with piano_roll_read.
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": {
"midi_notes": "<midi_notes>"
},
"name": "piano_roll_add_arpeggio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Optional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open. | |
| pattern | No | Optional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern. | |
| repeats | No | Number of cycles to repeat the arpeggio sequence (>= 1, default 1). | |
| velocity | No | Normalized velocity from 0.0 to 1.0 for every generated note (default 0.8). | |
| direction | No | Arpeggio traversal order: 'up' (as given), 'down' (reversed), 'updown' (bounce without repeating peaks), or 'random'. | up |
| step_bars | No | Time spacing between consecutive arpeggio notes in project bars (e.g. 0.0625 = 16th notes in 4/4, 0.25 = quarter notes). | |
| time_bars | No | 0-based start offset in project bars (default 0.0). | |
| midi_notes | Yes | Ordered list of MIDI note pitches (0..127) to step through sequentially. | |
| note_duration_bars | No | Duration of each individual arpeggio note in project bars (default 0.25). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||