Write Bassline
gen_emit_basslineGenerate a bassline from a Roman-numeral progression's roots and write it into a channel's Piano Roll, with root, octave, walking, or eighth-note styles for instant bass parts.
Instructions
Generate a bassline following a progression's roots and write it into a channel's Piano Roll.
Pair with gen_emit_chord_progression using matching progression, scale, and
bar_length; use piano_roll_add_notes for custom 808 glides (slide=True) or
syncopated bass rhythms. Defaults to clear_first=True; 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": {
"channel": "<channel>"
},
"name": "gen_emit_bassline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Low-register root pitch with octave (e.g. 'C2', 'A1', 'F2'). | C2 |
| scale | No | Scale name from `gen_list_scales` matching the harmonic progression (e.g. 'minor', 'major'). | minor |
| 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. | |
| bar_length | No | Duration spent on each chord degree in project bars (default 1.0; match `chord_length_bars` used in `gen_emit_chord_progression`). | |
| 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 from `gen_list_progressions` whose roots the bass follows (e.g. 'i-VII-VI-V'). | i-VII-VI-V |
| pattern_style | No | Bass rhythm style: 'root' (sustained roots), 'octaves' (half-bar root/octave pump), 'walking' (quarter-note passing run), or 'eighths' (driving 8th notes). | octaves |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||