About this drum machine:
This sequencer uses a mathematical structure called a De Bruijn sequence to generate rhythm patterns. A De Bruijn sequence is a cyclic string that contains every possible binary combination of a given length exactly once. In this case, we're using every possible 8-bit pattern.
Each track is controlled by a number from 0–255, which selects an offset into the 256-bit De Bruijn sequence. The next 8 bits at that point determine whether the sound is triggered at each of 8 steps in the loop. This allows every possible rhythmic pattern to be accessed with a single number.
I think of this De Bruijn method as the opposite of the Godfried Toussaint Euclidean drum algorithm. While Euclidean drums are funky and natural and authentic sounding, De Bruijn sequences are uncomfortable and robotic sounding
Try dragging the sliders, or hitting "RND" for a random number.
Sounds are generated by the python script in the repo. This machine is by Tom Whitwell / Music Thing Modular and is part of the 10,000 Drum Machines series by Maxwell Neely-Cohen.