Write Chord Progression
gen_emit_chord_progressionGenerate a preset Roman-numeral chord progression and write it into a channel's Piano Roll to build diatonic harmony, with options to replace or append notes.
Instructions
Generate a preset Roman-numeral chord progression and write it into a channel's Piano Roll.
Use for quick diatonic progressions; use piano_roll_add_notes (with
gen_chord_notes) for custom voicings, inversions, or non-diatonic harmony, and
pair with gen_emit_bassline using the same progression/root/scale. Defaults
to clear_first=True (replaces existing notes on channel); verify via 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": {
"channel": "<channel>"
},
"name": "gen_emit_chord_progression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Key root pitch with octave (e.g. 'C4', 'A3', 'F#4'). | C4 |
| scale | No | Scale name from `gen_list_scales` matching the progression (e.g. 'major' or 'minor'). | major |
| channel | Yes | 0-based global Channel Rack index whose Piano Roll will receive the generated notes. | |
| pattern | No | Optional 1-based pattern index to select before writing; omit/None to write into the currently selected pattern. | |
| clear_first | No | If True (default), clear existing notes in the target Piano Roll before writing; set False to append. | |
| progression | No | Roman-numeral progression template from `gen_list_progressions` (e.g. 'I-V-vi-IV', 'i-VII-VI-V', 'ii-V-I'). | I-V-vi-IV |
| octave_shift | No | Optional whole-octave transpose applied to all chords (e.g. -1 or +1; default 0). | |
| chord_length_bars | No | Duration of each chord in project bars (default 1.0 = one bar per chord). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||