create_drum_pattern
Generate drum beats in REAPER using text-based step sequencing. Input character strings to create MIDI notes on channel 9, mapping letters like k, s, h to kick, snare and hihat sounds.
Instructions
Create a drum pattern on a track using a step-sequencer string. Each character = one step. Characters: k=kick, s=snare, h=hihat(closed), o=hihat(open), t=tom(low), m=tom(mid), f=tom(high), c=crash, r=ride, .=rest. Example 4/4 rock beat (16 steps): "k...h...s...h..." All drum notes are placed on MIDI channel 9 (GM standard).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| pattern | Yes | ||
| start_position | Yes | ||
| beats | No | ||
| repeats | No |