Drum Pattern
Multi-track trigger sequencer. Each track is a row of on/off steps that emit independent trigger pulses.
Category: Control
Dynamic shape. Ports and per-channel parameters scale with the channel-count parameter; the default 2-channel shape is shown below.


Inputs
| Name | Type | Description |
|---|---|---|
| clock | control | Advances to the next step on each rising edge. |
| start | control | Rising edge resets to step 0 and starts playback. When unconnected, the pattern free-runs. |
Outputs
| Name | Type | Description |
|---|---|---|
| track1 | control | Track 1’s trigger pulses (one per active step on this row). |
| track2 | control | Track 2’s trigger pulses (one per active step on this row). |
| track3 | control | Track 3’s trigger pulses (one per active step on this row). |
| track4 | control | Track 4’s trigger pulses (one per active step on this row). |
Parameters
| Name | Type | Default | Range | Unit | Description |
|---|---|---|---|---|---|
| steps | number | 16 | 1–64 | — | Number of active steps per track. |
| tracks | number | 4 | 1–8 | — | Number of independent track outputs. Changing this rebuilds the patch. |
| loop | boolean | true | true, false | — | When true, the pattern wraps; when false, it stops after the last step. |
| pattern | string | — | — | — | One row per track separated by `|`; each row is a string of `0`/`1` characters per step. |