Write Drum & Bass Groove
gen_emit_dnb_grooveGenerate 2-bar 32-step Drum & Bass breakbeats as GM MIDI drum notes in a Piano Roll drum channel, choosing amen, think, modern, or halftime styles.
Instructions
Write a 2-bar 32-step Drum & Bass breakbeat as GM MIDI drum notes into a channel's Piano Roll.
Distinct from the 1-bar general drum tools: writes authentic 2-bar DnB patterns
(MIDI 36 kick, 38 snare, 42 closed-hat, 46 open-hat, 51 ride) into one Piano Roll
drum channel. Use gen_emit_drum_pattern_step_seq for multi-channel Channel Rack
step-sequencer genres (trap, house, boom_bap), gen_emit_drum_pattern_notes
for 1-bar Piano Roll drum grooves, or song_to_dnb_flip to combine DnB drums with
sub-bass and melody extracted from a song.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gen_emit_dnb_groove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | 2-bar 32-step DnB breakbeat template: 'amen', 'think', 'modern' (default), or 'halftime'. | modern |
| channel | No | 0-based global Channel Rack index hosting a GM-mapped drum kit (e.g. FPC); omit to target the open Piano Roll. | |
| pattern | No | Optional 1-based pattern index to select before writing; omit/None to use the current pattern. | |
| repeats | No | Number of 2-bar breakbeat loops to emit (>= 1; e.g. 2 writes 4 bars). | |
| clear_first | No | If True (default), clear existing notes on the target Piano Roll before writing; False appends. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||