Skip to content

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.

drum-pattern node on canvasdrum-pattern inspector panel

Inputs

NameTypeDescription
clockcontrolAdvances to the next step on each rising edge.
startcontrolRising edge resets to step 0 and starts playback. When unconnected, the pattern free-runs.

Outputs

NameTypeDescription
track1controlTrack 1’s trigger pulses (one per active step on this row).
track2controlTrack 2’s trigger pulses (one per active step on this row).
track3controlTrack 3’s trigger pulses (one per active step on this row).
track4controlTrack 4’s trigger pulses (one per active step on this row).

Parameters

NameTypeDefaultRangeUnitDescription
stepsnumber161–64Number of active steps per track.
tracksnumber41–8Number of independent track outputs. Changing this rebuilds the patch.
loopbooleantruetrue, falseWhen true, the pattern wraps; when false, it stops after the last step.
patternstringOne row per track separated by `|`; each row is a string of `0`/`1` characters per step.