This drum beat generator uses the percentage values in the sliders
to determine whether or not to place a note in the sequence as it generates it.
You can force a note to always be present at a particular step by setting the slider to 1.0
You can force a note to never be present at a particular step by setting the slider to 0.0

Tempo: the tempo of the generated sequence.
Measures: how many measures to generate.
Exclusive: if lit, kick and snare will never occur simultaneously.
Randomize: picks random percentages for all sliders.
Generate: generates a sequence using the current settings.

The playback rate of the chime sample played over the generated beat is scaled
based on the tempo you select. Lower tempos will result in lower-pitched chimes
and vice-versa.

Source code: beatGenerator Instruments

Built with Processing