Write Drum Steps to Sequencer
gen_emit_drum_pattern_step_seqWrite a 16-step genre drum groove into FL Studio's Channel Rack step sequencer across multiple mapped drum channels, then use step parameter tools to add rolls or accents.
Instructions
Write a 16-step genre drum groove into FL Studio's Channel Rack step sequencer across multiple drum channels.
Preferred drum writer whenever the MIDI bridge is online and each drum voice has
its own Channel Rack sampler (e.g. 808 Kick, Clap, HiHat, Snare); follow up with
channel_set_step_param to add hi-hat rolls (repeat) or velocity accents. Use
gen_emit_drum_pattern_notes instead for single-channel Piano Roll drum kits (FPC)
or offline bridge fallback, and gen_emit_dnb_groove for 2-bar DnB breakbeats.
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_map": "<channel_map>"
},
"name": "gen_emit_drum_pattern_step_seq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | 16-step genre drum pattern from `gen_list_drum_patterns` (e.g. 'trap', 'boom_bap', 'house', 'four_on_floor', 'reggaeton', 'rock'). | boom_bap |
| pattern | No | Optional 1-based pattern index to write into; omit/None to write into the currently selected pattern. | |
| repeats | No | Number of 16-step (1-bar in 4/4) repetitions to write (>= 1, e.g. 4 for a 4-bar beat). | |
| channel_map | Yes | Mapping of drum voice names from {'kick','snare','clhat','ophat','clap','tom','ride'} to 0-based global Channel Rack indices (resolve indices via `channel_all`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||